Skip to content

Commit

Permalink
clean up ratelimit store on CTRL+C
Browse files Browse the repository at this point in the history
  • Loading branch information
adelowo committed Apr 14, 2024
1 parent c5ae5cc commit c406796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ func createHTTPCommand(cmd *cobra.Command, cfg *config.Config) {
}

sseServer.Close()
ratelimitStore.Close(context.Background())

return nil
},
Expand Down

0 comments on commit c406796

Please sign in to comment.