From 25327ac0cc810f527fa0d2de0cdc9bea5bb67ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Fri, 17 Jan 2025 23:01:03 +0300 Subject: [PATCH] Add RunAllFetchs command to execute currency and gold rate fetching jobs sequentially - Introduced a new console command `RunAllFetchs` to streamline the execution of `FetchCurrencyRates`, `FetchGoldRates`, and `MergeCurrencyAndGoldRates` jobs. - Implemented synchronous dispatching of jobs with timing results displayed in a table format for performance monitoring. - This command enhances the application's ability to fetch and merge financial data efficiently in a single execution step. --- app/Console/Commands/RunAllFetchs.php | 53 +++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 app/Console/Commands/RunAllFetchs.php diff --git a/app/Console/Commands/RunAllFetchs.php b/app/Console/Commands/RunAllFetchs.php new file mode 100644 index 0000000..e647f90 --- /dev/null +++ b/app/Console/Commands/RunAllFetchs.php @@ -0,0 +1,53 @@ +table(['İşlem', 'Süre (saniye)'], $results); + } +}