From 17e213157a40e0d18b3faaaaf057cb079711f976 Mon Sep 17 00:00:00 2001 From: Joscha Feth Date: Tue, 13 May 2025 21:08:09 +1000 Subject: [PATCH] docs(inbox): GMail concurrency --- sources/inbox/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/sources/inbox/README.md b/sources/inbox/README.md index 1dca753c5..9d3b7b420 100644 --- a/sources/inbox/README.md +++ b/sources/inbox/README.md @@ -54,6 +54,22 @@ the add credentials for your chosen destination, ensuring proper routing of your data to the final destination. +## GMail + +GMail has a concurrency limit on access via IMAP, which at the time of writing is 15. +In order to not run into `[ALERT] Too many simultaneous connections`, you can reduce +the concurrency via: + +```toml +[load] +# Prevent the IMAP error: "[ALERT] Too many simultaneous connections" +# by limiting the number of concurrent load jobs +workers=15 +``` + +Bear in mind that IMAP connections are shared, so if you access a mailbox that is used elsewhere, +you may need to reduce the workers accordingly. + ## Run the pipeline 1. Before running the pipeline, ensure that you have installed all the necessary dependencies by