package org.nguyenhuy.buffer.job;

import android.os.Handler;
import com.path.android.jobqueue.Params;
import com.squareup.otto.Bus;

import javax.inject.Inject;

/**
 * Created by nguyenthanhhuy on 1/14/14.
 */
public abstract class Job extends com.path.android.jobqueue.Job {
    @Inject
    transient Bus bus;
    @Inject
    transient Handler mainHandler;

    protected Job(Params params) {
        super(params);
    }
}

@@ -271,16 +271,72 @@
 e.Job %7B%0A
+    private static final int DEFAULT_RETRY_LIMIT =  3;%0A%0A
     @Inj
@@ -473,11 +473,104 @@
 );%0A    %7D
+%0A%0A    @Override%0A    protected int getRetryLimit() %7B%0A        return DEFAULT_RETRY_LIMIT;%0A    %7D
 %0A%7D%0A

Change retry limit from 20 down to 3, to fail fast.