diff --git a/src/forum.nim b/src/forum.nim index 6e60108..c63a30a 100644 --- a/src/forum.nim +++ b/src/forum.nim @@ -5,7 +5,7 @@ # Look at license.txt for more info. # All rights reserved. # - +import system except Thread import os, strutils, times, md5, strtabs, math, db_sqlite, scgi, jester, asyncdispatch, asyncnet, sequtils, diff --git a/src/forum.nim.cfg b/src/forum.nim.cfg index 3af1ac0..d169997 100644 --- a/src/forum.nim.cfg +++ b/src/forum.nim.cfg @@ -3,4 +3,7 @@ path="$lib/packages/docutils" path="$nim" --d:ssl \ No newline at end of file +-d:ssl + +# --threads:on +# --threadAnalysis:off \ No newline at end of file diff --git a/src/frontend/postlist.nim b/src/frontend/postlist.nim index f568df0..84f3b7b 100644 --- a/src/frontend/postlist.nim +++ b/src/frontend/postlist.nim @@ -1,4 +1,5 @@ +import system except Thread import options, json, times, httpcore, strformat, sugar, math, strutils import sequtils