You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a background task that imports torrent stats from the Tracker. The Tracker Statistics Importer checks every 100 milliseconds if there are torrents to import. It executes a SQL query to fetch torrents that have not been updated in the last hour:
That configuration means the Index should try to update torrents at least every hour.
It seems querying the database every 100 milliseconds is overloading the demo server. Although it's a tiny instance, we should increase the interval. It could be a configuration option or even calculated manually in the future.
According to the data I've collected we could increase it from 100 milliseconds to 2000 milliseconds.
The text was updated successfully, but these errors were encountered:
Relates to: torrust/torrust-demo#1
There is a background task that imports torrent stats from the Tracker. The Tracker Statistics Importer checks every 100 milliseconds if there are torrents to import. It executes a SQL query to fetch torrents that have not been updated in the last hour:
The field
updated_at
stores the last update date. You can configure the importer in the config file:That configuration means the Index should try to update torrents at least every hour.
It seems querying the database every 100 milliseconds is overloading the demo server. Although it's a tiny instance, we should increase the interval. It could be a configuration option or even calculated manually in the future.
According to the data I've collected we could increase it from 100 milliseconds to 2000 milliseconds.
The text was updated successfully, but these errors were encountered: