Skip to content

Supervisor is only supervising 5 vaults #177

@holyfuchs

Description

@holyfuchs

Problem

The supervisor is only scanForStuck the first 5 vaults

if scanForStuck {
// TODO: add pagination - this will inevitably fails and at minimum creates inconsistent execution
// effort between runs
let registeredYieldVaults = FlowYieldVaultsSchedulerRegistry.getRegisteredYieldVaultIDs()
var scanned = 0
for yieldVaultID in registeredYieldVaults {
if scanned >= FlowYieldVaultsSchedulerRegistry.MAX_BATCH_SIZE {
break
}
scanned = scanned + 1

Steps to Reproduce

create a test where the 6th vault gets stuck.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working⎈ QuantStampThis issue is related to QuantStamp review comment

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions