As explained on the Communications page, the FTP client and the clients of the Hot Folder communication method automatically poll their mailboxes for files that have to be transferred.
MassTransit allows you to configure the polling interval for mailboxes. The configuration is available in the MassTransitEngine.cfg file located by default in the MassTransit installation directory:
for MassTransit 7.6 and later:
on 64-bit machines:
C:\Program Files (x86)\Acronis\MassTransit Server
for MassTransit 7.1 to 7.6:
on 32-bit machines:
C:\Program Files\Group Logic\MassTransit Server
on 64-bit machines:
C:\Program Files (x86)\Group Logic\MassTransit Server
for MassTransit 7.0.x:
on 32-bit machines:
C:\Program Files\Group Logic\MassTransit Server 7
on 64-bit machines:
C:\Program Files (x86)\Group Logic\MassTransit Server 7
To configure the mailbox polling intervals:
Open the MassTransitEngine.cfg file in an application suitable for plain text edit.
Locate the "Mailbox Polling Delay settings" section and configure the desired settings:
Note: All settings that have '%%' preceding them are considered commented and therefore, ignored. To enable the settings, delete the '%%' at the beginning of the line.
MAILBOX_POLLING_PERIOD_PER_CLIENT = 1 – this option configures the minimum number of seconds between polling of mailbox contacts; the default value is 1 second;
MAILBOX_POLLING_RECONCILE_PERIOD_PER_CLIENT = 10 – configures the minimum number of seconds before we reconcile a client's mailbox again; this value must be greater than 0; the default is 10 seconds;
MAILBOX_POLLING_DELAY_FACTOR_WHILE_CONNECTED = 5 – this is the multiplying factor for period between mailbox client polls when there are active file transfer connections; the default is 5 (so the minimum number of seconds between mailbox polls while connections are active will be 1*5=5 seconds); if you do not want to slow mailbox polling while connections are active, set this value to 1.
Save and close the MassTransitEngine.cfg file.
Restart the MassTransit services in order to apply the changes immediately:
Go to Start → Control Panel → Administrative Tools → Services;
Highlight the MassTransit (for MassTransit SFTP, the service name is MassTransit SFTP) service and click on the Stop button from the Services tool bar, or select the Stop option from the context menu of the service.
Highlight the MassTransit Transporter service and click on the Restart button from the Services tool bar, or select the Restart option from the context menu of the service;
Highlight the MassTransit (for MassTransit SFTP, the service name is MassTransit SFTP) service and click on the Start button from the Services tool bar, or select the Start option from the context menu of the service.