superfly / litefs

FUSE-based file system for replicating SQLite databases across a cluster of machines
Apache License 2.0
3.76k stars 89 forks source link

Add proxy server timeout config options #420

Closed benbjohnson closed 7 months ago

benbjohnson commented 7 months ago

This pull request adds several HTTP server timeout options to the proxy section of the config:

proxy:
  read-timeout = "0s"
  read-header-timeout = "10s"
  write-timeout = "0s"
  idle-timeout = "30s"

These correspond to the timeouts listed in the http.Server docs.