Add 'automaxprocs'

This commit is contained in:
Aykhan Shahsuvarov 2025-05-19 16:53:20 +04:00
parent e6fec752f9
commit c0d03ba341
3 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import (
"github.com/aykhans/bsky-feedgen/pkg/logger"
"github.com/aykhans/bsky-feedgen/pkg/storage/mongodb"
"github.com/aykhans/bsky-feedgen/pkg/storage/mongodb/collections"
_ "go.uber.org/automaxprocs"
)
func main() {

View File

@ -17,6 +17,7 @@ import (
"github.com/aykhans/bsky-feedgen/pkg/logger"
"github.com/aykhans/bsky-feedgen/pkg/storage/mongodb"
"github.com/aykhans/bsky-feedgen/pkg/storage/mongodb/collections"
_ "go.uber.org/automaxprocs"
)
func main() {

View File

@ -17,6 +17,7 @@ import (
"github.com/aykhans/bsky-feedgen/pkg/logger"
"github.com/aykhans/bsky-feedgen/pkg/storage/mongodb"
"github.com/aykhans/bsky-feedgen/pkg/storage/mongodb/collections"
_ "go.uber.org/automaxprocs"
)
func main() {