orangecoding / fredy

:heart: Fredy - [F]ind [R]eal [E]states [D]amn Eas[y] - Fredy will constantly search for new listings on sites like Immoscout or Immowelt and send new results to you, so that you can focus on more important things in life ;)
http://www.orange-coding.net
MIT License
212 stars 54 forks source link

Concurrent-Jobs #7

Closed orangecoding closed 4 years ago

orangecoding commented 4 years ago

This pr started simple (as they all do) with the idea of enabling the user to run multiple jobs concurrently. The issue was that one could search for an apartment to rent with multiple provider, but if you want to search for instance for different cities (or both to rent and to buy), then you would have to start 2 instances of Fredy with the different search params.

This obviously is an unnecessary overhead. To enable Fredy to run multiple search jobs in the same instance, I need to group the jobs (within the config) in chunks. This brought the issue of telling the Runtime which job is currently running... Which basically lead me to the conclusion the restructure bigger parts.

More info to come...