Re: [bitbake-devel] [PATCH] cooker: limit the execution of the hashequiv client/server ping
"Antonin Godard" <[email protected]>
| Newsgroups | org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Thu Apr 23, 2026 at 12:29 PM CEST, Corentin Guillevic via lists.openembedded.org wrote: > From: Corentin Guillevic <[email protected]> > > The ping method is used to test the connection to the hash equivalence server. > However, if the server is unavailable, the bitbake server has to wait several > minutes for the system to terminate. > > While waiting for a response from the hash server, the bitbake server does not > provide any feedback to the bitbake client. The latter then closes the link and > fails with the error: > > Timeout while waiting for a reply from the bitbake server (60s at 09:50:15.377337) > > Adding a timeout to the ping step allows quicker action when a remote server is > unavailable, and prevents disconnection of the client due to timeout. > The default timeout is 10 seconds, but this can be set using the > BB_HASHSERVER_TIMEOUT variable. Can you please document this new variable in doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst in the same commit? Thanks, Antonin