Skip to content

Commit

Permalink
test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kayprogrammer committed Dec 23, 2024
1 parent 66efe5c commit acdee5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ services:
depends_on:
- db
command: air ./main.go -b 0.0.0.0
networks:
- shared_network

pgadmin:
container_name: pgadmin
Expand Down
2 changes: 1 addition & 1 deletion jobs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func SetupWorker(db *gorm.DB, redisUrl string) {
}

func RunWithTicker(cfg config.Config, db *gorm.DB, redisClient *asynq.Client) {
ticker := time.NewTicker(time.Duration(cfg.ReminderCronHours) * time.Hou)
ticker := time.NewTicker(time.Duration(cfg.ReminderCronHours) * time.Hour)

// Run the job every 2 weeks
go func() {
Expand Down

0 comments on commit acdee5a

Please sign in to comment.