Added todo comment
Some checks failed
Deploy dev on push / on-push-deploy_sh-edraft (push) Failing after 4m17s

This commit is contained in:
Sven Heidemann 2023-10-22 11:57:10 +02:00
parent 42eeb068e3
commit 0c3e298562

View File

@ -110,6 +110,7 @@ class SteamOfferWatcher(TaskABC):
# sale_count = self._get_max_count() + 100 # sale_count = self._get_max_count() + 100
sale_count = 500 # only look at first 500 sale_count = 500 # only look at first 500
# todo: let admins change the value
self._logger.debug(__name__, f"Get special offers from 0 to {sale_count}") self._logger.debug(__name__, f"Get special offers from 0 to {sale_count}")
for i in range(0, sale_count, 100): for i in range(0, sale_count, 100):
new_offers.extend(self._get_games_from_page(i, 100)) new_offers.extend(self._get_games_from_page(i, 100))