wip
This commit is contained in:
@@ -18,11 +18,8 @@ export class EmailService {
|
||||
// Add to queue instead of sending directly
|
||||
await emailQueue.add('send-email', email, {
|
||||
removeOnComplete: true,
|
||||
removeOnFail: 1000
|
||||
// removeOnFail: 1000
|
||||
})
|
||||
|
||||
// Log for development
|
||||
await Bun.write('emails.log', JSON.stringify(email) + '\n', { append: true })
|
||||
}
|
||||
|
||||
async getQueueStatus() {
|
||||
|
||||
Reference in New Issue
Block a user