Skip to content

Commit

Permalink
🔥 Hotfix storage blacklisting
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Mar 7, 2024
1 parent ab7b050 commit 4196755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/atlas/src/providers/assets/assets.provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export const useStorageOperators = () => {

const evaluateStorageOperators = useCallback(() => {
failedStorageOperatorIds.current = failedStorageOperatorIds.current.filter(
([, timestamp]) => Date.now() - timestamp >= 1000 * 60 * 5 // if operator was marked failed more than 5 mins ago, try it again
([, timestamp]) => Date.now() - timestamp <= 1000 * 60 * 5 // if operator was marked failed more than 5 mins ago, try it again
)
return failedStorageOperatorIds.current
}, [failedStorageOperatorIds])
Expand Down

0 comments on commit 4196755

Please sign in to comment.