orleans icon indicating copy to clipboard operation
orleans copied to clipboard

TimeToLive is not working as expected

Open hpaikrao opened this issue 1 year ago • 1 comments

Hi Team, I have configured TimeToLive property as per below and expecting a new column to be added in my dyanamodb table.

.AddDynamoDBGrainStorage(name: "AgentStateStorage", configureOptions: options => {
options.TableName = orleansConfiguration.Environment + "-" + orleansConfiguration.DynamoTableName; options.TimeToLive = TimeSpan.FromMinutes(10);
})

After running the code, column name as "GrainTtl" not added into the respective table. Please refer below screenshot. Please suggest any other configuration needed for this to work.

image

hpaikrao avatar Sep 15 '22 11:09 hpaikrao

Hi @ReubenBond, Any updates on this issue?

hpaikrao avatar Sep 21 '22 05:09 hpaikrao

Hi Team,

We are successfully able to add GrainTtl column in respective table using orleans after configuring TimeToLive prop. Thank you.

image

hpaikrao avatar Sep 27 '22 10:09 hpaikrao