mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 12:51:40 +02:00
increase server timeout limit, improve and add db indices
- change energy footprint key to string
This commit is contained in:
@@ -260,8 +260,8 @@ func serverStart() {
|
||||
})
|
||||
|
||||
server = &http.Server{
|
||||
ReadTimeout: 10 * time.Second,
|
||||
WriteTimeout: 10 * time.Second,
|
||||
ReadTimeout: 20 * time.Second,
|
||||
WriteTimeout: 20 * time.Second,
|
||||
Handler: handler,
|
||||
Addr: config.Keys.Addr,
|
||||
}
|
||||
|
Reference in New Issue
Block a user