feeder: set deadlock_timeout to 10 seconds (#54658)
It makes wcs-olap always win in a deadlock with another client.
This commit is contained in:
parent
ee4bcadcc0
commit
c74766bf2c
|
@ -602,6 +602,7 @@ class WcsOlapFeeder(object):
|
|||
self.ex('COMMENT ON TABLE {generic_evolution_table} IS %s', vars=('evolution générique',))
|
||||
|
||||
def feed(self):
|
||||
self.ex("SET deadlock_timeout = '10s'")
|
||||
try:
|
||||
if self.do_feed:
|
||||
self.do_schema()
|
||||
|
|
Loading…
Reference in New Issue