Now tells the statsmanager to update the database after 5 ticks.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
Added debug.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>
MySQL mirroring is now working as intended.

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>