Your rim will survive best made as soon as possible to serving but if you're setting up a drinks table for a holiday party they should be good for about half an hour. For best results, use simple syrup to stick the rim here rather than sugar.