File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22/**
33 * Preload action related schedule cron events for FastCGI Cache Purge and Preload for Nginx
44 * Description: This file contains preload action related schedule cron events functions for FastCGI Cache Purge and Preload for Nginx
5- * Version: 2.1.3
5+ * Version: 2.1.2
66 * Author: Hasan CALISIR
77 * Author Email: hasan.calisir@psauxit.com
88 * Author URI: https://www.psauxit.com
@@ -541,17 +541,17 @@ function nppp_create_scheduled_event_preload_status_callback() {
541541 if ($ final_total > 0 ) {
542542 $ final_total += 20 ;
543543 } else {
544- $ final_total = 500 ;
544+ $ final_total = 2000 ;
545545 }
546546
547547 // Save to transient for frontend preload progress
548548 $ static_key_base = 'nppp ' ;
549549 $ count_transient_key = 'nppp_est_url_counts_ ' . md5 ($ static_key_base );
550- set_transient ($ count_transient_key , $ final_total , YEAR_IN_SECONDS );
550+ set_transient ($ count_transient_key , $ final_total , DAY_IN_SECONDS );
551551
552552 if (!empty ($ last_preload_time )) {
553553 $ timestamp_transient_key = 'nppp_last_preload_time_ ' . md5 ($ static_key_base );
554- set_transient ($ timestamp_transient_key , $ last_preload_time , YEAR_IN_SECONDS );
554+ set_transient ($ timestamp_transient_key , $ last_preload_time , DAY_IN_SECONDS );
555555 }
556556
557557 // Remove downloaded content
You can’t perform that action at this time.
0 commit comments