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

Migrate SDEXTENDEDTIMEOUT to QubesDB #2238

Open
legoktm opened this issue Sep 23, 2024 · 0 comments
Open

Migrate SDEXTENDEDTIMEOUT to QubesDB #2238

legoktm opened this issue Sep 23, 2024 · 0 comments
Labels

Comments

@legoktm
Copy link
Member

legoktm commented Sep 23, 2024

Description

In #1547 we had an experimental hack-ish to write data to qubes services to store data. At startup we do:

# EXPERIMENTAL(#1547): Check for the SDEXTENDEDTIMEOUT_N service flag and export it as
# SDEXTENDEDTIMEOUT=N.
timeout_flag_value=$(qubesdb-list /qubes-service/SDEXTENDEDTIMEOUT_)
if [ -n "$timeout_flag_value" ]; then
	echo "SDEXTENDEDTIMEOUT=$timeout_flag_value"
	export SDEXTENDEDTIMEOUT="$timeout_flag_value"
fi

Now that we have QubesDB vm-config we should switch this override mechanism to that. Also the timeout override should move to the sdk.API class instead of having MetadataSyncJob mutate it...

@legoktm legoktm added the sdk label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant