Skip to content

Conversation

@majecty
Copy link

@majecty majecty commented Nov 25, 2020

No description provided.

@majecty majecty requested a review from junha1 November 25, 2020 02:15
None => false,
};
if !sent_recently {
email_alarm.send(&format!("{} {} {}", thread_name, log_target, log_message));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure that this doesn't cause another log. It will lead to a deadlock. If not, LGTM.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The send function does not use log.

@majecty
Copy link
Author

majecty commented Nov 25, 2020

The test succeeds in my local machine.

@majecty majecty merged commit 6e67d80 into CodeChain-io:rc-2.2.x Nov 25, 2020
@majecty majecty deleted the f/mail-log-limit branch November 25, 2020 05:06
@majecty majecty mentioned this pull request Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants