HistoryCountLimitError and HistoryLimitWarn configuration in Python


History total size limit (leading to a terminated Workflow Execution):


I am using Python SDK to develop my ETL. I did not found any part where I can configure the HistoryCountLimitError and HistoryLimitWarn in Python.

Is this really configurable?

Appreciate anyone can clarify this things? Thanks.

Hi,

it is a server config

You can use the following keys in the dynamic config to overwrite the values

eg:

limit.historySize.error:
  - value: 134217728

I would consider other approaches like storing the payload in an external data-store and passing the reference instead, then from your activity you can run a query to retrieve the data.

1 Like

omg please include this in the docs. i thought the limitation is very strict. does the implementation for Python is also the same? or I need to use Go syntax too to overwrite this? or do i need to patch it by myself in the package? @antonio.perez

The dynamic config is for the Temporal Server (not for the sdk)

Yeah, but the link that you gave is for Go config. What about other language Config? But nevermind, I found the YAML config. Docs so bad.