Tracking: wrong counts of all time views
The tracking figures in the page details are inconsistent.
Some insights:
-
The sum of all views ("All Time") should be incremented by the hourly updates when running the cronjob. In some experiments, it was not incremented at all. In other experiments it was always incremented by the same amount, namely the number of views from the first hourly update. (=> is there some kind of caching involved?)
-
If the page is saved empty when created, all subsequent views will be saved as edits. (might be interesting for fixing #139)
Notes:
Triggering the cronjob: curl -L -XPOST http://127.0.0.1:3000/do/cron/run/tracking_update_hourlies -d '' Starting delayed job: RAILS_ENV=development script/delayed_job restart