Plugin Directory

Changeset 2093684


Ignore:
Timestamp:
05/23/2019 10:45:30 AM (7 years ago)
Author:
wpsynchro
Message:

Update to version 1.3.1

Location:
wpsynchro
Files:
85 added
2 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • wpsynchro/trunk/dist/manifest.json

    r2090444 r2093684  
    11{
    2   "main.css": "/dist/wpsynchro-d6411c4f0fcb4c936722.css",
    3   "main.js": "/dist/wpsynchro-d6411c4f0fcb4c936722.js",
     2  "main.css": "/dist/wpsynchro-b9673c1218309e93e4da.css",
     3  "main.js": "/dist/wpsynchro-b9673c1218309e93e4da.js",
    44  "icon.png": "/dist/icon-c7cc79fed6d48089cd54a58cf35247ea.png"
    55}
  • wpsynchro/trunk/includes/class-admin-run.php

    r2077707 r2093684  
    5656        $default_stages = $status_controller->getStages();
    5757
    58         // Get local max execution time, to use as timeout for JS axios calls
    59         $max_execution_time = intval(ini_get('max_execution_time'));
    60         if ($max_execution_time == 0 || $max_execution_time > 180) {
    61             // If set to infinite or large than 180, set it to 180, like in sync controller
    62             $max_execution_time = 180;
    63         }
    64 
    6558        // Localize the script with data
    6659        $adminjsdata = array(
     
    6861        'jobid' => $jobid,
    6962        'rest_nonce' => wp_create_nonce('wp_rest'),
    70         'rest_root' => esc_url_raw(rest_url()),
    71         'host_max_execution_time' => $max_execution_time,
     63        'rest_root' => esc_url_raw(rest_url()),
    7264        'text_ajax_response_error' => __("Could not get data from local REST service ({0}) - Maybe local server has troubles?", "wpsynchro"),
    7365        'text_ajax_request_error' => __("No proper response from local server - Maybe REST service is blocked? This can also be a temporary issue, if the host has issues. Please try again", "wpsynchro"),
  • wpsynchro/trunk/includes/database/class-database-sync.php

    r2090444 r2093684  
    101101                    $lastrun_time = $this->timer->getElapsedTimeToNow($lastrun_timer);
    102102                    $this->handlePostProcessingThrottling($lastrun_time);
    103                     $this->logger->log("DEBUG", "Lastrun in : " . $lastrun_time . " seconds - rows throttle: " . $this->job->db_rows_per_sync);
     103                    $this->logger->log("DEBUG", "Lastrun in : " . $lastrun_time . " seconds - rows throttle: " . $this->job->db_rows_per_sync . " and remaining time: " . $this->timer->getRemainingSyncTime());
    104104                    // Break out to test if we have time for more
    105105                    break;
  • wpsynchro/trunk/includes/utilities/class-sync-timer-list.php

    r2090444 r2093684  
    5353            $timelimit = self::MAX_SYNC_TIME_LIMIT;   // We set it to max X seconds
    5454        }
    55         $timelimit = $timelimit * 0.9; // Take 10% off to make sure we dont hit the limit   
     55        $timelimit = $timelimit * 0.8; // Take 20% off to make sure we dont hit the limit   
    5656        return $timelimit;
    5757    }
  • wpsynchro/trunk/readme.txt

    r2090446 r2093684  
    55Requires at least: 4.7
    66Tested up to: 5.2
    7 Stable tag: 1.3.0
     7Stable tag: 1.3.1
    88Requires PHP: 5.6
    99License: GPLv3
     
    9191 * WordPress from 4.7 to latest version.
    9292
     93= Do you support multisite? =
     94
     95Well, not really at the moment.
     96We have not done much testing on multisite yet, so use it is at own risk.
     97It is currently planned for next release to support it.
    9398
    9499== Screenshots ==
     
    100105
    101106== Changelog ==
     107
     108= 1.3.1 =
     109 * Hotfix: Error in frontend timer causing error in synchronization even if synchronization running fine.
    102110
    103111= 1.3.0 =
  • wpsynchro/trunk/wpsynchro.php

    r2090444 r2093684  
    44  Plugin URI: https://wpsynchro.com/home
    55  Description: Complete migration plugin for WordPress - Synchronization of database and files made easy.
    6   Version: 1.3.0
     6  Version: 1.3.1
    77  Author: WPSynchro
    88  Author URI: https://wpsynchro.com
     
    3434} // Exit if accessed directly
    3535
    36 define('WPSYNCHRO_VERSION', '1.3.0');
     36define('WPSYNCHRO_VERSION', '1.3.1');
    3737define('WPSYNCHRO_DB_VERSION', '3');
    3838define('WPSYNCHRO_NEWEST_MU_COMPATIBILITY_VERSION', '1.0.1'); // MU plugin version
Note: See TracChangeset for help on using the changeset viewer.