From f14df986ae3319e4d67b66ed9f44474f1d968484 Mon Sep 17 00:00:00 2001 From: heromyth Date: Thu, 18 Feb 2021 10:50:59 +0800 Subject: [PATCH] Update dub.sdl --- config/application.conf | 8 +++++--- dub.sdl | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config/application.conf b/config/application.conf index 8cf440b..da18d71 100644 --- a/config/application.conf +++ b/config/application.conf @@ -148,11 +148,13 @@ database.pool.minPoolSize = 20 database.pool.maxLifetime = 2000000 database.pool.connectionTimeout = 30000 - # Queue # memory, redis -queue.driver = amqp -queue.workerThreads = 32 +queue.enabled = false +queue.driver = memory + +# Task +task.workerThreads = 8 # Mail mail.smtp.host = smtp.gmail.com diff --git a/dub.sdl b/dub.sdl index f2acf80..f6a2ae0 100644 --- a/dub.sdl +++ b/dub.sdl @@ -4,4 +4,4 @@ copyright "Copyright (c) 2015-2021 HuntLabs" homepage "https://www.huntlabs.net" license "Apache-2.0" targetType "executable" -dependency "hunt-framework" path="../hunt-framework-latest" +dependency "hunt-framework" version="~>3.4.1"