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