8000 Merge pull request #86 from njeuk/master · mauricio/postgresql-async@888ca29 · GitHub
[go: up one dir, main page]

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

Commit 888ca29

Browse files
committed
Merge pull request #86 from njeuk/master
Creating a unique named log per connection causes memory leak
2 parents 20fda4c + 80876ee commit 888ca29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgresql-async/src/main/scala/com/github/mauricio/async/db/postgresql/PostgreSQLConnection.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class PostgreSQLConnection
6060
executionContext
6161
)
6262
private final val currentCount = Counter.incrementAndGet()
63-
private final val log = Log.getByName(s"${this.getClass.getName}:${currentCount}")
63+
private final val log = Log.getByName(s"${this.getClass.getName}")
6464
private final val preparedStatementsCounter = new AtomicInteger()
6565
private final implicit val internalExecutionContext = executionContext
6666

0 commit comments

Comments
 (0)
0