iliafrenkel/go-pb

Shutdown timeout must be configurable.

iliafrenkel opened this issue · 1 comments

ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)

Make servers shutdown configurable through the command line. Currently, it is hardcoded to be 10 sec which is a reasonable default.

Closed in 079c396. Forgot to mention.