You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at the moment we keep all contracts we subscribe to, which means the getLogs call grows larger and larger without limits
we have a contract pruner src/contractSubscriptionPruner.ts that deletes contracts after X days, this doesn't work for all rounds, as some rounds might run longer than that, so it's disabled at the moment
i think we should use the business logic of rounds to our advantage, some ideas:
we can assign a default reasonable TTL of 6 months to rounds?
when a round is paid out, we can immediately unsubscribe
if a QF round doesn't have votes in weeks, we can unsuscribe
The text was updated successfully, but these errors were encountered:
boudra
changed the title
redesign contract pruner
prune old contract subscriptions
May 15, 2024
at the moment we keep all contracts we subscribe to, which means the getLogs call grows larger and larger without limits
we have a contract pruner
src/contractSubscriptionPruner.ts
that deletes contracts after X days, this doesn't work for all rounds, as some rounds might run longer than that, so it's disabled at the momenti think we should use the business logic of rounds to our advantage, some ideas:
The text was updated successfully, but these errors were encountered: