new: add pool server handler

This commit is contained in:
ngn
2024-06-25 21:21:15 +03:00
parent 88a396d52f
commit 92bc029d0a
13 changed files with 289 additions and 48 deletions

View File

@ -21,7 +21,7 @@ int main(int argc, char *argv[]) {
goto end;
}
if (!lm_ctx_pools_serve(&ctx, argv[1])) {
if (!lm_ctx_pools_serve(&ctx, argv[1], 10)) {
printf("failed to serve the pools: %s (%d)\n", lm_strerror(), lm_error());
goto end;
}