Skip to content

Commit

Permalink
Don't stop delete jobs ticker (thought-machine#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamishpk committed Mar 7, 2024
1 parent 9cc4d69 commit 4004669
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 11.8.5
--------------
* Fix bug for periodically deleting jobs

Version 11.8.4
--------------
* delete in memory jobs periodically in one routine
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
11.8.4
11.8.5
1 change: 0 additions & 1 deletion mettle/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ func serve(opts grpcutil.Opts, name string, queueOpts PubSubOpts, apiURL string,
}
go srv.Receive()
go srv.periodicallyDeleteJobs()
defer srv.deleteJobsTicker.Stop()

lis, s := grpcutil.NewServer(opts)
pb.RegisterCapabilitiesServer(s, srv)
Expand Down

0 comments on commit 4004669

Please sign in to comment.