♻️ Rebuilt cache system with nexus cache

This commit is contained in:
2025-03-29 13:49:52 +08:00
parent 60d8c0b766
commit c8abf6647a
6 changed files with 55 additions and 523 deletions

View File

@@ -7,7 +7,6 @@ import (
"syscall"
pkg "git.solsynth.dev/hypernet/interactive/pkg/internal"
"git.solsynth.dev/hypernet/interactive/pkg/internal/cache"
"git.solsynth.dev/hypernet/interactive/pkg/internal/gap"
"git.solsynth.dev/hypernet/nexus/pkg/nex/sec"
"github.com/fatih/color"
@@ -72,11 +71,6 @@ func main() {
quartz.AddFunc("@every 5m", services.FetchFediverseTimedTask)
quartz.Start()
// Initialize cache
if err := cache.NewStore(); err != nil {
log.Fatal().Err(err).Msg("An error occurred when initializing cache.")
}
// App
go http.NewServer().Listen()