szurubooru/server
rr- ffb87f1650 server/posts: defer flush; save content lazily
Rather than flushing the post right away only to find out that there
were validation errors, try to postpone flushing for as long as
possible.

The previous behavior has led to too eager spending of post IDs - each
flush calls nextval(post_id_seq), and postgres sequences are not
affected by transaction rollbacks, so each erroneous post creation
discarded a post ID, which has led to gaps in post IDs.
2016-08-26 15:09:08 +02:00
..
szurubooru server/posts: defer flush; save content lazily 2016-08-26 15:09:08 +02:00
.pylintrc server/general: embrace most of PEP8 2016-08-14 16:44:03 +02:00
alembic.ini client+server/general: fix config references 2016-04-10 16:23:35 +02:00
generate-thumb server/tools: add generate-thumb 2016-06-02 13:58:08 +02:00
host-waitress server/general: ditch falcon for in-house WSGI app 2016-08-14 16:43:35 +02:00
lint server/tools: add lint script 2016-08-14 16:46:50 +02:00
migrate-v1 server/snapshots: rewrite 2016-08-16 21:51:25 +02:00
requirements.txt server/tools: add lint script 2016-08-14 16:46:50 +02:00
test server/tests: change test runner 2016-04-16 11:03:48 +02:00