garncarz / nogamespy-vietcong

Vietcong 1 multiplayer game support
https://vietcong1.eu
GNU Affero General Public License v3.0
18 stars 2 forks source link

DB transaction #2

Closed garncarz closed 6 years ago

garncarz commented 7 years ago

crawler.refreshAll should be wrapped in a transaction, so there's no inconsistency in data in front-end.

garncarz commented 6 years ago

Now, in SQLAlchemy, this all can't really be done in one transaction. E.g. when attaching players to a server, the server has to have a non-null id.