Skip to content

Conversation

@feiniks
Copy link
Contributor

@feiniks feiniks commented Aug 25, 2023

No description provided.

if (rc == FETCH_CHECKOUT_FAILED) {
send_file_sync_error_notification (repo_id, repo_name, de->name,
SYNC_ERROR_ID_CHECKOUT_FILE);
seaf_repo_manager_record_sync_error (repo_id, repo_name, de->name,
Copy link
Member

Choose a reason for hiding this comment

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

这个应该给每个 repo 记录一个内存中的状态,是否发送过 checkout 失败的警告。如果没发送过就发送一次;重启之后这个状态重置。

完全不发送也不好。

@killing killing merged commit 8ac92a6 into master Aug 28, 2023
@killing killing deleted the fix_checkout_file branch August 28, 2023 07:49
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.

3 participants