[wpkg-users] Timeout value precedence

Pendl Stefan stefan.pendl at haidlmair.at
Mon Apr 6 13:15:44 CEST 2009


Tomasz,
        yes this surly works.

Imagine following situation:
Installation will last for 5 minutes usually, there is no timeout specified explicitly.
Now this installation hangs for one hour, since there is no timeout specified in the package.

Adding a timeout to each and every install and upgrade command, just to overcome this problem, is time consuming.

Is there a way to apply a timeout at the package level and not only at the command level?

Thanks in advance,
Stefan


Tomasz Chmielewski wrote:
Pendl Stefan schrieb:
> Tomasz,
>     first thanks for this wonderful application and thanks to Rainer for the server side script updates.
>
> So to summarize:
>
> 1) set the timeout of the client to the maximum needed
> 2) set an appropriate timeout for each install or upgrade command
>
> Seems to be a bit cumbersome :-(

If you:
- set WPKG Client timeout to 1 hour or less
- set timeout for this particular install command in one package to 30
minutes

Why wouldn't it work for you?

If installation ends faster, WPKG Client will not wait unnecessarily to
shut down the system.

--
Tomasz Chmielewski
http://wpkg.org<http://wpkg.org/>



More information about the wpkg-users mailing list