sftpgo-mirror/service
Nicola Murino 81c8e8d898 add profiler support
profiling is now available via the HTTP base URL /debug/pprof/

examples, use this URL to start and download a 30 seconds CPU profile:

/debug/pprof/profile?seconds=30

use this URL to profile used memory:

/debug/pprof/heap?gc=1

use this URL to profile allocated memory:

/debug/pprof/allocs?gc=1

Full docs here:

https://golang.org/pkg/net/http/pprof/
2020-03-15 15:16:35 +01:00
..
service.go add profiler support 2020-03-15 15:16:35 +01:00
service_windows.go windows service: only restart twice 2020-03-02 09:58:36 +01:00
sighup_unix.go httpd: allow to reload the https certificate without restarting the service 2020-02-04 23:21:33 +01:00
sighup_windows.go memory provider: load users from a dump file 2020-02-02 22:20:39 +01:00