For example: "data.db" (relative to the working directory) or "/mnt/data/mydata.db". Normally, this is the path to a file on disk, relative to the current working directory, or absolute.The connectionString parameter configures how to open the SQLite database. Setting this to values <=0 disables the periodic cleanup.Ĭonsider this state store for actors. Interval, in seconds, to clean up rows with an expired TTL. Name of the table where the data is stored. Timeout, in seconds, for all database operations. "path/to/data.db", "file::memory:?cache=shared" The connection string for the SQLite database. # Connection string - name: connectionString value: "data.db" # Timeout for database operations, in seconds (optional) #- name: timeoutInSeconds # value: 20 # Name of the table where to store the state (optional) #- name: tableName # value: "state" # Cleanup interval in seconds, to remove expired rows (optional) #- name: cleanupIntervalInSeconds # value: 3600 # Uncomment this if you wish to use SQLite as a state store for actors (optional) #- name: actorStateStore # value: "true" Spec metadata fields Field
0 Comments
Leave a Reply. |