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