fixes #2659

ceils nanosecond values to 1 ms to prevent no eviction case
I do not see these places as things to be fixed. 
ttl with value with -1 means it will not be evicted.
And giving null as timeunit for this case, is acceptable.