Skip to content

Commit

Permalink
Cherry pick #3627 from Cadence (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxing1292 committed Oct 19, 2020
1 parent f3e0b03 commit ec220ca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ const (
defaultCloseTTLSeconds = 86400
openExecutionTTLBuffer = int64(86400) // setting it to a day to account for shard going down

maxCassandraTTL = int64(630720000) // Cassandra TTL maximum, 20 years in second
// ref: https://docs.datastax.com/en/dse-trblshoot/doc/troubleshooting/recoveringTtlYear2038Problem.html
maxCassandraTTL = int64(315360000) // Cassandra max support time is 2038-01-19T03:14:06+00:00. Updated this to 10 years to support until year 2028
)

const (
Expand Down

0 comments on commit ec220ca

Please sign in to comment.