Pre warmup trigger on synchronizer creation for imaps.
This commit is contained in:
@@ -89,6 +89,9 @@ public class SynchronizerFactory : ISynchronizerFactory
|
|||||||
{
|
{
|
||||||
// Start the idle client for IMAP synchronizer.
|
// Start the idle client for IMAP synchronizer.
|
||||||
_ = imapSynchronizer.StartIdleClientAsync();
|
_ = imapSynchronizer.StartIdleClientAsync();
|
||||||
|
|
||||||
|
// Pre-warm the client pool for IMAP synchronizer.
|
||||||
|
_ = imapSynchronizer.PreWarmClientPoolAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronizerCache.Add(synchronizer);
|
synchronizerCache.Add(synchronizer);
|
||||||
|
|||||||
Reference in New Issue
Block a user