hashgraph / hedera-services

Crypto, token, consensus, file, and smart contract services for the Hedera public ledger
Apache License 2.0
271 stars 121 forks source link

PCES Time Based File Heuristic #6252

Open cody-littley opened 1 year ago

cody-littley commented 1 year ago

@jasperpotts and @jsync-swirlds suggested that we cause the preconsensus event files to wrap around if they have been open for too long, in addition to wrapping if the files become too large.

Their recommended configuration for wrapping was that files should not be permitted to grow larger than 1GB or to be open longer than 15 minutes.

cody-littley commented 1 year ago

Moving this out of the epic https://github.com/hashgraph/hedera-services/issues/5682, as it is not required for deployment of PCES. This task can be done eventually if we have issues without it.