Skip to content

Commit

Permalink
fix: disable concurrent activity execution protection
Browse files Browse the repository at this point in the history
This is causing issues to customers. For now better to disable it.

Ref #105
  • Loading branch information
pvcnt authored Sep 3, 2024
1 parent 6125170 commit cb23a31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/webapp/src/worker/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ async function executeActivity(
fn: () => Promise<void>,
): Promise<void> {
const activity = await db.activities.get(name);
if (activity !== undefined && activity.running) {
/*if (activity !== undefined && activity.running) {
// Do not run activities concurrently.
return;
}
}*/
if (
!force &&
activity !== undefined &&
Expand Down

0 comments on commit cb23a31

Please sign in to comment.