Re: Forcing async mode when calling remote methods

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 30 Jun 2008 11:08:10 -0400
Michael DeHaan <mdehaan@xxxxxxxxxx> wrote:

> How about a syntax a bit more like this? We could make this more
> generic so we might be able to pass in other hints later. Perhaps
> call it /etc/func/methods.conf
> 
> [command]
> run = async
> 
> [virt]
> install = async, not_on_tuesday
> 
> [yumcmd]
> update = async
> 
> I don't have any good ideas for what "hints" might be, but that
> strikes me as being a bit more editable if there are later 50 methods
> in there.
Maybe it could be used to specify something like timeout. If we run in
async, this would mean how long we should poll before returning with
error.  One could also specify interval between polls. But is this
useful ?

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux