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

Add option to not wait for DS-writer on startup #140

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

peb-adr
Copy link
Member

@peb-adr peb-adr commented Oct 1, 2024

This uses a new env var ANONYMOUS_ONLY.
I am not particularly happy with this name but I chose it to be (somewhat) consistent with OpenSlides/openslides-autoupdate-service#982.

In both cases the variable is intended to be set when setting up an OpenSlides deployment which is read-only and serving only anonymous connections.
In this type of deployment there is no access to the backend or datastore-writer.

Also changed [[ ... ]] to [ ... ] as #!/bin/sh implies the script should be POSIX conform. Also I encountered weird behavior with unset and '' variables.

@peb-adr peb-adr requested a review from bastianjoel October 1, 2024 12:14
@bastianjoel bastianjoel merged commit b2e8e2c into OpenSlides:main Oct 1, 2024
3 checks passed
@peb-adr peb-adr deleted the easy-start branch October 1, 2024 12:25
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.

2 participants