Skip to content

Commit

Permalink
Merge pull request #1183 from joakim-brannstrom/mutate-fix-fsm-lockup
Browse files Browse the repository at this point in the history
mutate: fix fsm livelock
  • Loading branch information
joakim-brannstrom-work1 committed Aug 27, 2020
2 parents 4923a4d + c4aea86 commit 0319390
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ struct TimeoutFsm {

static void execute_(ref TimeoutFsm self, Database* db) @trusted {
self.global.db = db;
// must always run the loop at least once.
self.global.stop = false;

auto t = db.transaction;
self.global.ctx = db.getMutantTimeoutCtx;
Expand Down

0 comments on commit 0319390

Please sign in to comment.