File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/main/java/io/github/dsheirer/util Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* *****************************************************************************
3
- * Copyright (C) 2014-2022 Dennis Sheirer
3
+ * Copyright (C) 2014-2023 Dennis Sheirer
4
4
*
5
5
* This program is free software: you can redistribute it and/or modify
6
6
* it under the terms of the GNU General Public License as published by
@@ -91,7 +91,9 @@ public void receive(E e)
91
91
if (System .currentTimeMillis () > (mLastOverflowLogEvent + OVERFLOW_LOG_EVENT_WAIT_PERIOD ))
92
92
{
93
93
mLastOverflowLogEvent = System .currentTimeMillis ();
94
- mLog .warn ("Temporary buffer overflow for thread [" + mThreadName + "] - throwing away samples" );
94
+ mLog .warn ("Dispatcher - temporary buffer overflow for thread [" + mThreadName + "] - throwing away samples - " +
95
+ " processor flag:" + (mRunning .get () ? "running" : "stopped" ) +
96
+ " thread:" + (mThread != null ? (mThread .isAlive () ? mThread .getState () : "dead" ) : "null" ));
95
97
}
96
98
}
97
99
}
@@ -185,6 +187,7 @@ else if(element != null)
185
187
catch (InterruptedException e )
186
188
{
187
189
//Normal shutdown is by interrupt
190
+ mRunning .set (false );
188
191
}
189
192
catch (Exception e )
190
193
{
You can’t perform that action at this time.
0 commit comments