move timeout settings into 3 different settings vars

This commit is contained in:
AlanCoding
2016-10-31 14:00:20 -04:00
parent a5aa2df681
commit de66318381
7 changed files with 55 additions and 23 deletions

View File

@@ -1226,6 +1226,9 @@ class InventoryUpdate(UnifiedJob, InventorySourceOptions, JobNotificationMixin):
from awx.main.tasks import RunInventoryUpdate
return RunInventoryUpdate
def _global_timeout_setting(self):
return 'DEFAULT_INVENTORY_UPDATE_TIMEOUT'
def websocket_emit_data(self):
if self.inventory_source.group is not None:
return dict(group_id=self.inventory_source.group.id)