Example #1
0
 def refresh(cls, index='default'):
     process.send(None)
     cls.es.indices.refresh(settings.ES_INDEXES[index])
Example #2
0
 def refresh(cls, index='default', timesleep=0):
     process.send(None)
     cls.es.indices.refresh(settings.ES_INDEXES[index])
Example #3
0
 def send(cls):
     # Send all the ES tasks on hold.
     process.send(None)
Example #4
0
 def send(cls):
     # Send all the ES tasks on hold.
     process.send(None)