@yangdongsheng I saw the function, and find it can not be used in my situation. I can not find a way to check if the time is up. For the first time it can be check because map can be changed from None to something, but for the following test it is hard to say what kind of change it may occur, maybe changed, maybe not. It depends on --minimum option in domfstrim