Add work queue for requests
This commit is contained in:
parent
83b39b15f6
commit
a52c0cc2fd
5 changed files with 193 additions and 74 deletions
|
|
@ -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)
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue