MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / _wait_for_child

Method _wait_for_child

tests/disposableredis/__init__.py:168–176  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166 sys.stderr.write("Redis output: {}\n".format(self._get_output()))
167
168 def _wait_for_child(self):
169 # Wait until file is available
170 r = self.client()
171 while True:
172 info = r.info('persistence')
173 if info['aof_rewrite_scheduled'] or info['aof_rewrite_in_progress']:
174 time.sleep(0.1)
175 else:
176 break
177
178 def dump_and_reload(self, restart_process=False):
179 """

Callers 1

dump_and_reloadMethod · 0.95

Calls 1

clientMethod · 0.95

Tested by

no test coverage detected