add gitaudit autoflush #202
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
orinoco/dump-things-server!202
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "gitaudit_auto_flush"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This commit adds the configuration
auto_flush_timeouttothe gitaudit-configuration. If
auto_flush_timeoutsecondshave passed without adding a new audit log entry and there
is a non-empty changeset, i.e., the changeset was last
touched more than
auto_flush_timeoutseconds ago, thechangeset will be persisted. This results in a commit.
For example, if
auto_flush_timeoutis 60, but every 50seconds a log-entry for a new record is added to the
gitaudit-instance, the automated persisting of the
changeset will never be triggered (the changeset might
still be persisted, depending on the content of the
changes).
If, on the other hand, a single change was added and
no other change is added in the next
auto_flush_timeoutseconds, the single change will be persisted,
resulting in a commit with a single change.
ac3a3c9533f20daac102