Skip to content

Commit

Permalink
fix(fbs): removed unnecessary atomic ordering for faster execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesmallon1 committed Jan 8, 2024
1 parent f5f1c28 commit 3456621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/fetch_block_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl<
condvar_clone.notify_one();
}

completed_clone.fetch_add(1, Ordering::SeqCst);
completed_clone.fetch_add(1, Ordering::Relaxed);
};

self.thread_pool.execute(closure);
Expand Down

0 comments on commit 3456621

Please sign in to comment.