Giacomo Olgeni

Results 9 comments of Giacomo Olgeni

PATCH is more or less the same as UPDATE, but with `exclude_unset` ☺️ `for key, value in model.dict(exclude={self._pk}, exclude_unset=True).items()`

Maybe the call to bhyveload needs to be delayed a bit or retried a small amount of times with a small delay - looks like some kind of race condition...

Interesting πŸ‘€ I'll give it a try. Thanks! πŸ™Œ

We have almost daily catastrophic crashes in production because of this, and the amount of work to remove the db-related Depends is basically the same as rewriting the product, so...

We still had database-related deadlocks after patching the virtualenv manually with this fix πŸ‘€ After another β€œstern warning” from the client's lawyers, we switched to pgbouncer and NullPool, and now...

Meanwhile the NullPool solution is holding up for us, in case anybody needs a quick fix πŸ˜