this repo has no description

feat: execute pipe every 2.5k ops

Changed files
+1 -1
cmd
bsky-activity
+1 -1
cmd/bsky-activity/main.go
···
// add one to the count, every 500 ops execute the piepline
eventCount += 1
-
if eventCount%500 == 0 {
+
if eventCount%2500 == 0 {
if _, err := pipe.Exec(ctx); err != nil {
log.Printf("failed to exec pipe\n")
}