Still wasn't working, my programmer adjusted your line and now its fine
User.updateDigestSetting(userData.uid, meta.config.dailyDigestFreq, next);
A user mentioned he's not receiving daily digest. I use Mandrill as the emailer and notifications are being sent through but I don't see any digests being sent.
All I can find in the log is the following. I don't know if the last two are relevant.
3/12 02:27 [332] - info: NodeBB Ready
3/12 02:27 [332] - info: NodeBB is now listening on: 0.0.0.0:4567
3/12 17:00 [332] - info: [user/jobs] Digest (day) scheduling completed.
4/12 17:00 [332] - info: [user/jobs] Digest (day) scheduling completed.
5/12 17:00 [332] - info: [user/jobs] Digest (day) scheduling completed.
5/12 17:49 [332] - warn: Flooding detected! Calls : 101, Duration : 3839
5/12 17:49 [332] - warn: [socket.io] Too many emits! Disconnecting uid : 8. Events : topics.loadMore,topics.markAsRead,topics.loadMore,topics.markAsRead,topics.loadMore,topics.markAsRead,topics.loadMore,topics.markAsRead,topics.loadMore,topics.markAsRead,topics.loadMore,topics.markAsRead,topics.loadMore,topics.markAsRead,topics.loadMore,topics.markAsRead,topics.loadMore,topics.markAsRead,topics.loadMore,topics.markAsRead
How can I best debug this?