mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 00:57:31 -05:00
Merges changes from master branch to resolve issue with CPU and memory
and constraints on scheduled thread pool saturation. Adds a new scheduled thread pool for each processing chain that the components in the chain can share, versus the single shared pool exposed by the threadpoolmanager class.
This commit is contained in:
@@ -58,6 +58,5 @@ public class CallEventLogger extends EventLogger implements ICallEventListener,
|
||||
@Override
|
||||
public void reset()
|
||||
{
|
||||
super.start();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ import java.io.IOException;
|
||||
import java.io.OutputStreamWriter;
|
||||
import java.io.Writer;
|
||||
import java.nio.file.Path;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
|
||||
import module.Module;
|
||||
|
||||
@@ -67,7 +68,8 @@ public abstract class EventLogger extends Module
|
||||
|
||||
public abstract String getHeader();
|
||||
|
||||
public void start()
|
||||
@Override
|
||||
public void start( ScheduledExecutorService executor )
|
||||
{
|
||||
if( mLogFile == null )
|
||||
{
|
||||
|
||||
@@ -58,7 +58,6 @@ public class MessageEventLogger extends EventLogger implements
|
||||
@Override
|
||||
public void reset()
|
||||
{
|
||||
super.start();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user