<@U04S8PLJWMT> where to set hseartbeat-max-seconds...
# ask-ai
e
@kapa.ai where to set hseartbeat-max-seconds-between-messages
k
You can set the hseartbeat-max-seconds-between-messages parameter in the flags.yaml configuration file of your Airbyte deployment. This parameter configures the maximum time allowed between two messages (either RECORD or STATE) from the source before Airbyte considers the source unresponsive and fails the sync. The default value is 3 hours. To configure it, add or update the following entry in your flags.yaml file:
Copy code
yaml hseartbeat-max-seconds-between-messages: <your_desired_value_in_seconds>
For example, to set the maximum allowed time between messages to 1 hour (3600 seconds):
Copy code
yaml hseartbeat-max-seconds-between-messages: 3600
This file should be placed and managed according to your Airbyte deployment's configuration management practices. The same approach applies to both Airbyte Open Source and Airbyte Cloud deployments, as the heartbeat mechanism is identical in both platforms [Technical Details - Heartbeats](https://docs.airbyte.com/platform/1.7/understanding-airbyte/heartbeats#technical-details).
e
@kapa.ai where can i find flags.yaml file in OSS version
k
A message from kapa.ai
I'm sorry, but the knowledge sources do not contain explicit information about the default location or path of the flags.yaml file in the Airbyte OSS version. The documentation only mentions that heartbeat and timeout configurations can be set in flags.yaml, but does not specify where this file is located or how it is managed in a typical OSS deployment [Technical Details - Heartbeats](https://docs.airbyte.com/platform/1.7/understanding-airbyte/heartbeats#technical-details). If you need the exact location or management instructions for flags.yaml, you may need to consult the Airbyte OSS repository or community forums for further guidance.