Hi!
As the subject says, I'm mostly ns_confused.
server1:nscp 5> ns_cache_create some 4096
server1:nscp 6> ns_cache_eval -timeout 5 some key {after 10000; set a
13}
13
server1:nscp 8> ns_cache_create other 4096
server1:nscp 9> ns_cache_eval -timeout [expr {[clock seconds] + 5}]
other key {after 10000; set a 13}
13
server1:nscp 10> ns_cache_create -timeout 10 other2 4096
server1:nscp 11> ns_cache_eval -timeout [expr {[clock seconds] +
5}] other2 key {after 10000; set a 13}
13
What I do not understand is: whatever and however I
try to get the timeout trigger, I can't.
How is this supposed to work? Do we have any timeouts now
on the per-cache-level or per-eval-level or we don't?
Commands says yes but nothing happens.
Cheers
Zoran
|