• drewblin's avatar
    fix: set autocommit for mysql (#2638) · 06325124
    drewblin authored
    If in server config mysql has autocommit = 0, then wikijs fails with locks like this:
    ```
    2020-10-30T12:56:51.725Z [JOB] error: Rebuilding page tree: [ FAILED ]
    2020-10-30T12:56:51.726Z [JOB] error: truncate `pageTree` - Lock wait timeout exceeded; try restarting transaction
    ```
    06325124
db.js 7.9 KB