mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-03-07 06:00:24 +00:00
swicthing to nanoTime() for Travis CI
This commit is contained in:
parent
404d083578
commit
478de8e0ef
1 changed files with 4 additions and 1 deletions
|
|
@ -15,7 +15,10 @@ trait Task {
|
|||
}
|
||||
|
||||
object Task {
|
||||
def TimeNow : Long = { java.time.Instant.now().getEpochSecond }
|
||||
def TimeNow : Long = {
|
||||
System.nanoTime()
|
||||
//java.time.Instant.now().getEpochSecond
|
||||
}
|
||||
|
||||
object Resolution extends Enumeration {
|
||||
val Success, Incomplete, Failure = Value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue