Add work queue for requests

This commit is contained in:
Hugo Mårdbrink 2025-11-10 22:11:26 +01:00
parent 83b39b15f6
commit a52c0cc2fd
5 changed files with 193 additions and 74 deletions

View file

@ -88,7 +88,7 @@ main :: proc() {
fjord.server_add_route(&server, .GET, {"users", ":id", "posts", ":post_id"}, user_post_handler)
log.infof("Server listening on http://127.0.0.1:%d", endpoint.port)
fjord.listen_and_serve(&server)
fjord.server_listen_and_serve(&server)
}
```