Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purpose of periodic container restarts in NostalgiaForInfinity #448

Open
seventhsite opened this issue Dec 3, 2024 · 3 comments
Open

Purpose of periodic container restarts in NostalgiaForInfinity #448

seventhsite opened this issue Dec 3, 2024 · 3 comments

Comments

@seventhsite
Copy link
Contributor

Hi there! 👋

I noticed in the docker-compose.yaml file for the NostalgiaForInfinity strategy that there's a service set up to restart the main container every 86400 seconds. Could you explain the reason behind this setup? Is it for stability, reconnecting to the exchange, or something else? Just curious to understand the thought process here.

Thanks in advance!

@iterativv
Copy link
Owner

Hi, yes, You don't have to use these exact. Just what are your preferences.

@seventhsite
Copy link
Contributor Author

Got it, thanks! So just to clarify, is this included mainly as a suggestion for stability or other reasons? Or is it more of a placeholder for users to customize as needed?

@iterativv
Copy link
Owner

Got it, thanks! So just to clarify, is this included mainly as a suggestion for stability or other reasons? Or is it more of a placeholder for users to customize as needed?

Yes, in fact you don't have to use this. I don't use docker at all, for example, just native Python to run the bots. It's not required, just in order to update NFI either reload or - yes - some times a complete restart.

seventhsite added a commit to seventhsite/NostalgiaForInfinity that referenced this issue Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants