this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

tweaks

+7 -4
+2 -2
cmd/automod/helpers.go
··· 21 21 am := c.GetAccountMeta(did) 22 22 eng := c.InternalEngine() 23 23 if eng.OzoneClient == nil { 24 - c.Logger.Warn("skipping label addition", "did", did, "label", label) 24 + c.Logger.Warn("skipping label addition (no ozone client)", "did", did, "label", label) 25 25 return nil 26 26 } 27 27 ··· 57 57 am := c.GetAccountMeta(did) 58 58 eng := c.InternalEngine() 59 59 if eng.OzoneClient == nil { 60 - c.Logger.Warn("skipping label removal", "did", did, "label", label) 60 + c.Logger.Warn("skipping label removal (no ozone client)", "did", did, "label", label) 61 61 return nil 62 62 } 63 63
+2 -2
cmd/automod/rules.go
··· 11 11 ) 12 12 13 13 var ( 14 - GOOD_BOT_THRESHOLD = 2 15 - BAD_BOT_THRESHOLD = 2 14 + GOOD_BOT_THRESHOLD = 1 15 + BAD_BOT_THRESHOLD = 1 16 16 //BLADERUNNER_THRESHOLD = 2 17 17 //JABRONI_THRESHOLD = 2 18 18 )
+3
cmd/automod/server.go
··· 145 145 OzoneClient: ozoneClient, 146 146 //AdminClient: adminClient, 147 147 //BlobClient: blobClient, 148 + Config: automod.EngineConfig{ 149 + SkipAccountMeta: true, 150 + }, 148 151 } 149 152 150 153 s := &Server{