diff --git a/config/logging.php b/config/logging.php index 62808a61..6a61881c 100644 --- a/config/logging.php +++ b/config/logging.php @@ -143,23 +143,23 @@ return [ 'level' => 'info', ], - // 'vue_polling_vapor' => [ - // 'driver' => 'custom', - // 'via' => \App\Logging\CloudWatchLoggerFactory::class, - // 'formatter' => Monolog\Formatter\JsonFormatter::class, - // 'cloudwatch_stream_name' => 'vue_polling_vapor', - // 'sdk' => [ - // 'region' => env('AWS_MY_REGION'), - // 'version' => 'latest', - // 'credentials' => [ - // 'key' => env('AWS_CW_ACCESS'), - // 'secret' => env('AWS_CW_SECRET') - // ] - // ], - // 'retention' => 3, //cief todo: retention to be updated - // 'level' => 'debug', - // 'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'), - // ], + 'vue_polling_vapor' => [ + 'driver' => 'custom', + 'via' => \App\Logging\CloudWatchLoggerFactory::class, + 'formatter' => Monolog\Formatter\JsonFormatter::class, + 'cloudwatch_stream_name' => 'vue_polling_vapor', + 'sdk' => [ + 'region' => env('AWS_MY_REGION'), + 'version' => 'latest', + 'credentials' => [ + 'key' => env('AWS_CW_ACCESS'), + 'secret' => env('AWS_CW_SECRET') + ] + ], + 'retention' => 3, //cief todo: retention to be updated + 'level' => 'debug', + 'groupNamePrefix' => env('CLOUDWATCH_LOGGROUP_PREFIX'), + ], 'perfex_crm' => [ diff --git a/resources/assets/vue/vuex/modules/jobPolling.js b/resources/assets/vue/vuex/modules/jobPolling.js index 1fc03d4c..bb381f03 100644 --- a/resources/assets/vue/vuex/modules/jobPolling.js +++ b/resources/assets/vue/vuex/modules/jobPolling.js @@ -87,7 +87,7 @@ export default { }, startPolling({ state, commit, dispatch }, { jobId, name, pollingAttemptsCount, maxAttempts = 8}) { - let interval = 10000; + let interval = 3000; //cief todo: original was 10000 // console.log(`startPolling jobId: ${jobId}, pollingAttemptsCount: ${pollingAttemptsCount}, name: ${name}`);