Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 9435b0a

Browse files
authored
Merge pull request #32 from double16/threadpool-jdk-10-fix
Re-order ThreadPool settings
2 parents 1b7834b + 2b1dc60 commit 9435b0a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ plugins {
1616
id "com.jfrog.bintray" version "1.2"
1717
}
1818

19-
version "2.0.0"
19+
version "2.0.1"
2020
group "org.grails.plugins"
2121

2222
apply plugin: 'maven-publish'

grails-app/services/grails/plugins/mail/MailService.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ class MailService implements InitializingBean, DisposableBean, GrailsConfigurati
6363
}
6464

6565
void setPoolSize(Integer poolSize){
66-
mailExecutorService.setCorePoolSize(poolSize ?: DEFAULT_POOL_SIZE)
6766
mailExecutorService.setMaximumPoolSize(poolSize ?: DEFAULT_POOL_SIZE)
67+
mailExecutorService.setCorePoolSize(poolSize ?: DEFAULT_POOL_SIZE)
6868
}
6969

7070
@Override

0 commit comments

Comments
 (0)