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

Increase timeout for sync job #9

Open
akiessling opened this issue Apr 25, 2022 · 2 comments
Open

Increase timeout for sync job #9

akiessling opened this issue Apr 25, 2022 · 2 comments

Comments

@akiessling
Copy link

The sync processes are created with the default timeout of 60s

$process = Process::fromShellCommandline($cmd);

This might not be enough for slow servers/connections or initial sync runs. Can the timeout be increased or made configurable from the ext config? My DB imports unfortunately take a bit longer then 60s

public static function fromShellCommandline(string $command, string $cwd = null, array $env = null, $input = null, ?float $timeout = 60)
@achimfritz
Copy link
Contributor

Hi @akiessling , what do you think is a "good" value? (i think the it should be "hardcoded" to keep config simple)

@akiessling
Copy link
Author

Hi @achimfritz ,

that's a good question. My setup needs about 3-4 Minutes for the sync, but it is not even that big, just the DB takes it's time. Maybe it should be close to the kill timeout? How about 9:55 minutes?

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