Comments (3)
I think the problem is caused by the fact that we wait for 10 minutes before we run getContractsWithRetry for the first time after startup.
Do you remember why we implemented it this way? I suspect that we wanted to avoid DDoSing w3name in case Station Core instances frequently restart. Or more precisely, if we frequently restart the main zinnia loop. Now that we moved contract updater outside of the main zinnia loop, I think we can change this behaviour.
A few more alternatives that come to my mind:
- We can hard-code a seed list of contracts into Station Core source code.
- Station Core can persist the list of contract addresses in a state file, so that we have a relative up-to-date list after restart.
from core.
I think the problem is caused by the fact that we wait for 10 minutes before we run getContractsWithRetry for the first time after startup.
This was so that when Voyager crashes, we don't fetch new contracts. Now that they are decoupled, and we would only fetch contracts when Core restarts, let's move the wait afterwards again. Will PR
from core.
from core.
Related Issues (20)
- Blocked rewards HOT 1
- Document auto-upgrade setup for Docker deployments HOT 3
- Docker instance crashes trying to create directory in incorrect spot HOT 6
- Blocked rewards HOT 1
- station-id tests noisy
- Persist state (and Station ID) accross Docker upgrades HOT 4
- Failed to validate FIL_WALLET_ADDRESS address HOT 7
- Please check if the balance in the contract is insufficient. HOT 3
- Startup error HOT 28
- GLIF node error
- Core is unable to download Spark sources
- "rewardsScheduledForAddress": "0.0" HOT 5
- Noisy Sentry alerts from `lib/zinnia` HOT 2
- meridian error HOT 2
- Frozen Rewards all gateways HOT 9
- Failed to download spark source HOT 4
- DOCKER - Scheduled Rewards always showing 0.0 HOT 7
- General knowledge about transactions on filcoin network HOT 2
- Nodes frozen and increase jobs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.