Skip to content

Commit 204c2c1

Browse files
committed
fix
1 parent f152e5b commit 204c2c1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

core/src/com/biglybt/plugin/startstoprules/defaultplugin/StartStopRulesDefaultPlugin.java

+11
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ public class StartStopRulesDefaultPlugin implements Plugin,
119119
private static final int SMOOTHING_PERIOD_SECS = 15;
120120
private static final int SMOOTHING_PERIOD = SMOOTHING_PERIOD_SECS*1000;
121121

122+
private static final Object DEBUG_LINE_KEY = new Object();
123+
122124
private TagManager tag_manager;
123125

124126
private volatile boolean tagsHaveDLorCDLimits;
@@ -3464,6 +3466,15 @@ else if (!bActivelySeeding && bSeeding)
34643466
"nSeeds=" + dlData.getLastModifiedScrapeResultSeeds(),
34653467
"nPeers=" + dlData.getLastModifiedScrapeResultPeers()
34663468
};
3469+
3470+
String lastDebug = (String)dlData.getUserData( DEBUG_LINE_KEY );
3471+
3472+
if ( lastDebug == null || !sDebugLine.equals( lastDebug )){
3473+
3474+
dlData.setUserData( DEBUG_LINE_KEY, sDebugLine );
3475+
3476+
debugNoChange = true;
3477+
}
34673478
printDebugChanges("", debugEntries, debugEntries2, sDebugLine, " ", debugNoChange, dlData);
34683479
}
34693480
}

0 commit comments

Comments
 (0)