prevent wal files to become huge
Merge pull request #564 from giastfader/master

prevent wal files to become huge