@@ -126,6 +126,9 @@ discard block |
||
| 126 | 126 | $this->network_options_whitelist = $options; |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | + /** |
|
| 130 | + * @param integer $size |
|
| 131 | + */ |
|
| 129 | 132 | function set_send_buffer_size( $size ) { |
| 130 | 133 | $this->sync_queue->set_checkout_size( $size ); |
| 131 | 134 | } |
@@ -229,6 +232,9 @@ discard block |
||
| 229 | 232 | } |
| 230 | 233 | } |
| 231 | 234 | |
| 235 | + /** |
|
| 236 | + * @param string $when |
|
| 237 | + */ |
|
| 232 | 238 | private function schedule_sync( $when ) { |
| 233 | 239 | wp_schedule_single_event( strtotime( $when ), 'jetpack_sync_actions' ); |
| 234 | 240 | } |