We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ideally deployments should work like this:
/home/ghc/ghc-app/bin/
ghc-app-<sha1>
SO_REUSEADDR
app_bytes = open(r'path/to/ghc-app', 'rb').read() app_hash = hashlib.sha1(app_bytes).digest() port = int.from_bytes(app_hash, 'big') % (65535 - 1024)
/stats
ghc-app
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ideally deployments should work like this:
/home/ghc/ghc-app/bin/
)ghc-app-<sha1>
where the sha1 is the first few hex-encoded bytesSO_REUSEADDR
/stats
for exampleghc-app
to the new buildghc-app
's PIDghc-app
just like the old one, again usingSO_REUSEADDR
. So then two processes listen on the same port.ghc-app
The text was updated successfully, but these errors were encountered: