Exemplo n.º 1
0
 def _on_needed_space_modified(self, path, value, oldvalue, result):
     from logs import lg
     from customer import fire_hire
     lg.info('my needed space value modified')
     self._do_check_all_hired()
     fire_hire.ClearLastFireTime()
     fire_hire.A('restart')
Exemplo n.º 2
0
 def _on_suppliers_number_modified(self, path, value, oldvalue, result):
     from logs import lg
     from customer import fire_hire
     from raid import eccmap
     lg.info('my desired suppliers number changed')
     eccmap.Update()
     self._do_check_all_hired()
     fire_hire.ClearLastFireTime()
     fire_hire.A('restart')
Exemplo n.º 3
0
 def _on_needed_space_modified(self, path, value, oldvalue, result):
     from customer import fire_hire
     fire_hire.ClearLastFireTime()
     fire_hire.A('restart')
Exemplo n.º 4
0
 def _on_suppliers_number_modified(self, path, value, oldvalue, result):
     from customer import fire_hire
     from raid import eccmap
     eccmap.Update()
     fire_hire.ClearLastFireTime()
     fire_hire.A('restart')