Separate set_result() to a new line apart from Future() call

This commit is contained in:
rallytime 2018-06-25 15:24:45 -04:00
parent c0180ff33d
commit 352fe33fd6
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -951,7 +951,8 @@ class SaltAPIHandler(BaseSaltAPIHandler): # pylint: disable=W0223
# minimum time required for return to complete. By default no waiting, if
# we are a syndic then we must wait syndic_wait at a minimum
min_wait_time = Future().set_result(True)
min_wait_time = Future()
min_wait_time.set_result(True)
# wait syndic a while to avoid missing published events
if self.application.opts['order_masters']: