Skip to content

Commit

Permalink
Remove confusing const for upcoming changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Dec 13, 2023
1 parent 923c9ef commit bfd618c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions unified-scheduler-pool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ use {
},
};

const PRIMARY_SCHEDULER_ID: SchedulerId = 0;
type AtomicSchedulerId = AtomicU64;

// SchedulerPool must be accessed via dyn by solana-runtime code, because its internal fields'
Expand Down Expand Up @@ -87,7 +86,7 @@ impl<S: SpawnableScheduler<TH>, TH: TaskHandler> SchedulerPool<S, TH> {
prioritization_fee_cache,
},
weak_self: weak_self.clone(),
next_scheduler_id: AtomicSchedulerId::new(PRIMARY_SCHEDULER_ID),
next_scheduler_id: AtomicSchedulerId::default(),
_phantom: PhantomData,
})
}
Expand Down

0 comments on commit bfd618c

Please sign in to comment.