Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can do something like UPDATE row SET timeout = NOW() WHERE NOW() - taskTimeout > row.timestamp. You're not stuck with comparing bools.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: