Updated to handy-httpd 7.16.0

This commit is contained in:
Andrew Lalis 2024-01-16 14:39:00 -05:00
parent 2f8621e237
commit ccc5ced433
3 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,7 @@
],
"copyright": "Copyright © 2023, Andrew Lalis",
"dependencies": {
"handy-httpd": "~>7.13.0",
"handy-httpd": "~>7.16.0",
"requests": "~>2.1.1",
"scheduled": "~>1.2.0",
"slf4d": "~>2.4.3"

View File

@ -4,10 +4,10 @@
"automem": "0.6.9",
"cachetools": "0.4.1",
"cronexp": "0.1.0-beta3",
"handy-httpd": "7.13.0",
"handy-httpd": "7.16.0",
"httparsed": "1.2.1",
"path-matcher": "1.1.3",
"requests": "2.1.1",
"requests": "2.1.2",
"scheduled": "1.2.0",
"slf4d": "2.4.3",
"streams": "3.5.0",

View File

@ -10,9 +10,10 @@ import csgs.extract;
void startServer() {
ServerConfig config = ServerConfig.defaultValues();
config.workerPoolSize = 3;
config.workerPoolSize = 2;
config.connectionQueueSize = 10;
config.port = 8100;
config.enableWebSockets = false;
auto handler = new PathHandler();
handler.addMapping(Method.POST, "/extracts", &handleExtract);