nitishm / vegeta-server

A RESTful API server for vegeta, a load testing tool written in Go.
MIT License
63 stars 17 forks source link

Gracefully cancel all ongoing attacks on SIGINT quit #54

Closed nitishm closed 5 years ago

nitishm commented 5 years ago

Currently the SIGINT quit terminates the dispatcher.Run() without explicitly canceling the ongoing attacks.

Terminate/cancel each attack (task.Cancel) prior to exiting the dispatcher.Run() loop.

nitishm commented 5 years ago

Fixed in #53