Completed
Push — try/extra-sync-logging ( c4da37 )
by
unknown
24:20 queued 14:39
created
sync/class.jetpack-sync-client.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -195,21 +195,36 @@  discard block
 block discarded – undo
195 195
 		$this->network_options_whitelist = $options;
196 196
 	}
197 197
 
198
+	/**
199
+	 * @param integer $size
200
+	 */
198 201
 	function set_send_buffer_memory_size( $size ) {
199 202
 		$this->checkout_memory_size = $size;
200 203
 	}
201 204
 
202 205
 	// in bytes
206
+
207
+	/**
208
+	 * @param integer $max_bytes
209
+	 */
203 210
 	function set_upload_max_bytes( $max_bytes ) {
204 211
 		$this->upload_max_bytes = $max_bytes;
205 212
 	}
206 213
 
207 214
 	// in rows
215
+
216
+	/**
217
+	 * @param integer $max_rows
218
+	 */
208 219
 	function set_upload_max_rows( $max_rows ) {
209 220
 		$this->upload_max_rows = $max_rows;
210 221
 	}
211 222
 
212 223
 	// in seconds
224
+
225
+	/**
226
+	 * @param integer $seconds
227
+	 */
213 228
 	function set_min_sync_wait_time( $seconds ) {
214 229
 		update_option( self::SYNC_THROTTLE_OPTION_NAME, $seconds, true );
215 230
 	}
@@ -476,6 +491,9 @@  discard block
 block discarded – undo
476 491
 		}
477 492
 	}
478 493
 
494
+	/**
495
+	 * @param string $action_name
496
+	 */
479 497
 	private function buffer_includes_action( $buffer, $action_name ) {
480 498
 		foreach ( $buffer->get_items() as $item ) {
481 499
 			if ( $item[0] === $action_name ) {
@@ -505,6 +523,9 @@  discard block
 block discarded – undo
505 523
 		return $post;
506 524
 	}
507 525
 
526
+	/**
527
+	 * @param string $when
528
+	 */
508 529
 	private function schedule_sync( $when ) {
509 530
 		wp_schedule_single_event( strtotime( $when ), 'jetpack_sync_actions' );
510 531
 	}
Please login to merge, or discard this patch.