public static function syncLong($force = false) { self::initSync(1800); // Sync analytical and statistical data (long running). Debug::runTimer('Run analytics manager', function () { AnalyticsManager::run(); }); // Update convention archives. Debug::runTimer('Run convention archives manager', function () { ConventionManager::run(); }); /* // Clean up old API calls. Debug::runTimer('Run API call cleanup', function() { ApiCall::cleanUp(); }); */ // Clean up old song history entries. Debug::runTimer('Run song history cleanup', function () { SongHistory::cleanUp(); }); // Sync the BronyTunes library. Debug::runTimer('Run BronyTunes sync', function () { Service\BronyTunes::load(); }); // Sync the Pony.fm library. Debug::runTimer('Run Pony.fm sync', function () { Service\PonyFm::load(); }); // Sync the EqBeats library. Debug::runTimer('Run EqBeats sync', function () { Service\EqBeats::load(); }); Settings::setSetting('sync_slow_last_run', time()); }