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

Get sandstorm user id in launcher script #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

orblivion
Copy link

No description provided.

self.send_header("Content-type", "text/html")
self.end_headers()

# reloadDelay ms "hopefully" is enough time for the next server to start
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be risky with the migration. I'm not sure how long it'll take. Sandstorm might be forgiving on the first request and let you do a long migration, but this makes an extra request to get the sandstorm ID. If you set it too low, the next server won't be there when it reloads the page. I wonder if Caddy could handle it smoothly though.

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

Successfully merging this pull request may close these issues.

1 participant