|
30 | 30 | import com.swirlds.platform.components.ConsensusEngine;
|
31 | 31 | import com.swirlds.platform.event.GossipEvent;
|
32 | 32 | import com.swirlds.platform.event.creation.EventCreationManager;
|
33 |
| -import com.swirlds.platform.event.deduplication.EventDeduplicator; |
34 | 33 | import com.swirlds.platform.event.hashing.EventHasher;
|
35 | 34 | import com.swirlds.platform.event.linking.InOrderLinker;
|
36 | 35 | import com.swirlds.platform.event.orphan.OrphanBuffer;
|
|
61 | 60 |
|
62 | 61 | /**
|
63 | 62 | * The {@link TaskScheduler}s used by the platform.
|
| 63 | + * <p> |
| 64 | + * This class is being phased out. Do not add additional schedulers to this class! |
64 | 65 | *
|
65 | 66 | * @param eventHasherScheduler the scheduler for the event hasher
|
66 | 67 | * @param postHashCollectorScheduler the scheduler for the post hash collector
|
67 |
| - * @param eventDeduplicatorScheduler the scheduler for the event deduplicator |
68 | 68 | * @param eventSignatureValidatorScheduler the scheduler for the event signature validator
|
69 | 69 | * @param orphanBufferScheduler the scheduler for the orphan buffer
|
70 | 70 | * @param inOrderLinkerScheduler the scheduler for the in-order linker
|
|
90 | 90 | public record PlatformSchedulers(
|
91 | 91 | @NonNull TaskScheduler<GossipEvent> eventHasherScheduler,
|
92 | 92 | @NonNull TaskScheduler<GossipEvent> postHashCollectorScheduler,
|
93 |
| - @NonNull TaskScheduler<GossipEvent> eventDeduplicatorScheduler, |
94 | 93 | @NonNull TaskScheduler<GossipEvent> eventSignatureValidatorScheduler,
|
95 | 94 | @NonNull TaskScheduler<List<GossipEvent>> orphanBufferScheduler,
|
96 | 95 | @NonNull TaskScheduler<EventImpl> inOrderLinkerScheduler,
|
@@ -148,14 +147,6 @@ public static PlatformSchedulers create(
|
148 | 147 | .withUnhandledTaskCapacity(UNLIMITED_CAPACITY)
|
149 | 148 | .build()
|
150 | 149 | .cast(),
|
151 |
| - model.schedulerBuilder("eventDeduplicator") |
152 |
| - .withType(config.eventDeduplicatorSchedulerType()) |
153 |
| - .withUnhandledTaskCapacity(config.eventDeduplicatorUnhandledCapacity()) |
154 |
| - .withFlushingEnabled(true) |
155 |
| - .withUnhandledTaskMetricEnabled(true) |
156 |
| - .withHyperlink(platformCoreHyperlink(EventDeduplicator.class)) |
157 |
| - .build() |
158 |
| - .cast(), |
159 | 150 | model.schedulerBuilder("eventSignatureValidator")
|
160 | 151 | .withType(config.eventSignatureValidatorSchedulerType())
|
161 | 152 | .withUnhandledTaskCapacity(config.eventSignatureValidatorUnhandledCapacity())
|
|
0 commit comments