Skip to content

Commit

Permalink
No longer apply any sampling to SessionFunnel.
Browse files Browse the repository at this point in the history
Change-Id: I3a2bb0959f1a5e91dcee69478d4c395a37a4d76d
  • Loading branch information
dbrant committed Mar 22, 2019
1 parent a1b0880 commit 4552bbf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/org/wikipedia/analytics/SessionFunnel.java
Expand Up @@ -6,7 +6,6 @@
import org.wikipedia.history.HistoryEntry;
import org.wikipedia.settings.Prefs;
import org.wikipedia.settings.RbSwitch;
import org.wikipedia.util.ReleaseUtil;
import org.wikipedia.util.StringUtil;

public class SessionFunnel extends Funnel {
Expand All @@ -25,7 +24,7 @@ public class SessionFunnel extends Funnel {
private long restSectionsStartTime;

public SessionFunnel(WikipediaApp app) {
super(app, SCHEMA_NAME, REVISION, ReleaseUtil.isProdRelease() ? Funnel.SAMPLE_LOG_100 : Funnel.SAMPLE_LOG_ALL);
super(app, SCHEMA_NAME, REVISION);
sessionData = Prefs.getSessionData();
if (sessionData.getStartTime() == 0 || sessionData.getLastTouchTime() == 0) {
// session was serialized/deserialized incorrectly, so reset it.
Expand Down

0 comments on commit 4552bbf

Please sign in to comment.