# MaxEventsPerFile

The maximum number of events to cache in the component before committing them to the backend.

NOTE: If HubSpot Connector stops unexpectedly, no more than this number of events are lost.

Type: | Integer
Default: | 1000
Allowed Range: | Minimum: 100 Maximum: 100000
Required: | No
Configuration Section: | DocumentTracking
Example: | `MaxEventsPerFile=5000`
See Also: | DocTrackDirMaxSizeKB

_FT_HTML5_bannerTitle.htm