The CobblerXMLRPCInterface class is instantiated with an api object, which has access to the settings. So what would be required is:
1) add the setting to settings.py (and a default value in the config/settings file) 2) modify remote.py to use self.api.settings().the_new_var_name instead of TOKEN_TIMEOUT.
Removing the other hard-coded _TIMEOUT settings would be nice too (though no one ever complains about those).
On Thu, Aug 15, 2013 at 10:45 AM, Orion Poplawski orion@cora.nwra.comwrote:
On 08/14/2013 10:45 AM, James Cammarata wrote:
The only way at this time is to modify the timeout setting in the remote.py file. I have been meaning to make this configurable for some time, so if you want to tackle adding that to the settings feel free.
I started to take a look at this, but it seems fairly complicated. I'm not even sure how the CobblerXMLRPCInterface class is initialized elsewhere to see how to pass in the needed configuration.
-- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion@nwra.com Boulder, CO 80301 http://www.nwra.com ______________________________**_________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.**org/mailman/listinfo/cobblerhttps://lists.fedorahosted.org/mailman/listinfo/cobbler