overleaf/services/web/scripts/history
Thomas 97a636b0dd Set force/origin params in project history migration script (None types), handle errors (#5693)
* Use a force resync when initialising full project history, improve error handling, increase default mongo timeout

* Don't remove history ID if error on initialisation

* Rename MAX_PROJECT_UPGRADES to MAX_UPGRADES_TO_ATTEMPT and skip upgrades in the current batch once we reach the limit

* Catch SIGINT and wait for a safe time to exit

* Set overleaf.history.upgradeFailed when errors during history initialisation

GitOrigin-RevId: 2c987926cac9c9727a7b39e9003aa8626d56423f
2021-11-09 09:04:37 +00:00
..
count_project_history_categories.js Merge pull request #5694 from overleaf/tm-history-scripts-mongo-timeouts 2021-11-09 09:04:30 +00:00
upgrade_none_without_conversion_if_no_sl_history.js Set force/origin params in project history migration script (None types), handle errors (#5693) 2021-11-09 09:04:37 +00:00
upgrade_v1_without_conversion_if_created_after_fph_enabled.js Merge pull request #5694 from overleaf/tm-history-scripts-mongo-timeouts 2021-11-09 09:04:30 +00:00
upgrade_v1_without_conversion_if_no_sl_history.js Merge pull request #5694 from overleaf/tm-history-scripts-mongo-timeouts 2021-11-09 09:04:30 +00:00