Skip to content

nsq_to_file rotate by hour#4

Open
alexeyproskuryakov wants to merge 4 commits into
masterfrom
ITBI-503_
Open

nsq_to_file rotate by hour#4
alexeyproskuryakov wants to merge 4 commits into
masterfrom
ITBI-503_

Conversation

@alexeyproskuryakov

Copy link
Copy Markdown

No description provided.

}

func (f *FileLoggerHourRotator) Write(p []byte) (n int, err error) {
func (f *FileLoggerHourRotator) refreshFiles() {

@juise juise Jul 22, 2016

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ты ведь тут никого не рефрешишь, а закрываешь. Так и назови функцию - closeFile

Правильно ли я понимаю, что ты закрываешь текущий файл в этой функции?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants