File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,10 @@ func runGloomberg(_ *cobra.Command, _ []string) {
412
412
413
413
//
414
414
// degendata - ranks
415
+ // ❕ placed on the end to have the least interference with the calls
416
+ // to opensea that fetch the wallet collections at the beginning
417
+ // ❗️ probably doesn't matter anymore since we're using the redis cache now
418
+ // waiting for more feedback from the community before moving it up
415
419
go func () {
416
420
if err := degendata .LoadOpenseaRanks (gb ); err != nil {
417
421
gbl .Log .Errorf ("error loading opensea ranks: %v" , err )
@@ -443,6 +447,14 @@ func runGloomberg(_ *cobra.Command, _ []string) {
443
447
}()
444
448
}
445
449
450
+ // marmot tasks
451
+ // gb.CreatePeriodicTask("testing", 5*time.Second, func(gb *gloomberg.Gloomberg) {
452
+ // log.Printf("testing tasks lol! %+v", len(gb.Ranks))
453
+ // })
454
+ // gb.CreateScheduledTask("testing", time.Now().Add(17*time.Second), func(gb *gloomberg.Gloomberg) {
455
+ // log.Printf("testing scheduled tasks lol! %+v", len(gb.Ranks))
456
+ // })
457
+
446
458
// loop forever
447
459
select {}
448
460
}
You can’t perform that action at this time.
0 commit comments