Skip to content

Commit

Permalink
fix: Run Invoice download async
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCizmar committed Dec 21, 2023
1 parent 7a2c638 commit a4586e3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ class BatchJobStateProvider(
}

fun getCachedJobIds(): MutableSet<Long> {
return getStatesMap().keys
val keys = getStatesMap().keys
// redisson defers the access to the key set, so it was throwing NoSuchElementException when iterating over keys
// so let's rather copy the set
return keys.toMutableSet()
}
}

0 comments on commit a4586e3

Please sign in to comment.