Skip to content

Commit 128fc8d

Browse files
committed
Removed test issues
1 parent e487c93 commit 128fc8d

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
// Public entry point for the RERUM API v1 server library
2-
// Only the things exported here are considered a supported, stable
3-
// API. Internal helpers and modules (controllers, database, routes,
4-
// etc.) remain private and are not re-exported. Consumers of the
5-
// package should be able to import from the package root rather than
6-
// reach into deep paths.
7-
81
import http from 'http'
92
import app from './app.js'
103

@@ -38,8 +31,6 @@ export function createServer(port = process.env.PORT ?? 3001) {
3831
app.set('port', port)
3932
const server = http.createServer(app)
4033

41-
// mirror the configuration from bin/rerum_v1.js so that programmatic
42-
// users get the same keep-alive behaviour as the CLI entry point.
4334
server.keepAliveTimeout = 8 * 1000
4435
server.headersTimeout = 8.5 * 1000
4536

0 commit comments

Comments
 (0)