flags to int
fix bug
intToflags
timerdb
fix bug
update  andmongo
test ok