diff options
| author | Shulhan <ms@kilabit.info> | 2023-07-01 01:34:25 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-07-01 17:25:15 +0700 |
| commit | b9f69e549f1ecde42f34cc2dab6437bb62c42fe6 (patch) | |
| tree | 9a83faa9b24eab3b5456ce3b7f6f7e04f8201204 /lib/websocket/closecode.go | |
| parent | 091751a2e0e4f162454275e511a718d15ebf3886 (diff) | |
| download | pakakeh.go-b9f69e549f1ecde42f34cc2dab6437bb62c42fe6.tar.xz | |
lib/websocket: handle concurrent ping using goroutines
The maximum goroutines is quarter of max queue.
The new goroutine for pinger will be dispatched when no goroutine can
consume the current processed connection.
Diffstat (limited to 'lib/websocket/closecode.go')
0 files changed, 0 insertions, 0 deletions
