els0r / goProbe

High-performance IP packet metadata aggregation and efficient storage and querying of flows
GNU General Public License v2.0
12 stars 4 forks source link

Change default gpctl timeout to 10s #292

Closed fako1024 closed 7 months ago

fako1024 commented 7 months ago

The current default timeout for gpctl queries to the API is 3s, which can already be hit in busy scenarios (e.g. during rotation) due to the mutex lock on the capture. To ease the pain a bit this should be changed to 10s (the user can still override both in config and / or on the command line if they please).