Skip to content

Commit

Permalink
🐛 Fix main file
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleSheep2Code committed Dec 25, 2024
1 parent 66ee6c3 commit 5bbf13b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pkg/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ package main

import (
"fmt"
"os"
"os/signal"
"syscall"

"git.solsynth.dev/hypernet/nexus/pkg/nex/sec"
pkg "git.solsynth.dev/hypernet/paperclip/pkg/internal"
"git.solsynth.dev/hypernet/paperclip/pkg/internal/gap"
"github.com/fatih/color"
"os"
"os/signal"
"syscall"

"git.solsynth.dev/hypernet/paperclip/pkg/internal/cache"
"git.solsynth.dev/hypernet/paperclip/pkg/internal/database"
Expand Down Expand Up @@ -72,9 +73,6 @@ func main() {
}

// Set up some workers
for idx := 0; idx < viper.GetInt("workers.files_deletion"); idx++ {
go services.StartConsumeDeletionTask()
}
for idx := 0; idx < viper.GetInt("workers.files_analyze"); idx++ {
go services.StartConsumeAnalyzeTask()
}
Expand Down

0 comments on commit 5bbf13b

Please sign in to comment.