Spaces:
Running
Running
Update sync_logic.py
Browse files- sync_logic.py +1 -3
sync_logic.py
CHANGED
@@ -564,9 +564,7 @@ def sync_all_linkedin_data_orchestrator(token_state):
|
|
564 |
# This means state_manager determined no post sync is needed based on log
|
565 |
posts_sync_message = "Posts: Sync not currently required by schedule. "
|
566 |
logging.info("Posts sync: Skipped as fetch_count_for_posts_api is 0 (determined by state_manager).")
|
567 |
-
|
568 |
-
# This keeps the log fresh, indicating a check was made.
|
569 |
-
token_state = _log_sync_attempt(org_urn, LOG_SUBJECT_POSTS, token_state)
|
570 |
else:
|
571 |
posts_sync_message, token_state = _sync_linkedin_posts_internal(token_state, fetch_count_for_posts_api)
|
572 |
# _sync_linkedin_posts_internal now handles its own logging internally
|
|
|
564 |
# This means state_manager determined no post sync is needed based on log
|
565 |
posts_sync_message = "Posts: Sync not currently required by schedule. "
|
566 |
logging.info("Posts sync: Skipped as fetch_count_for_posts_api is 0 (determined by state_manager).")
|
567 |
+
|
|
|
|
|
568 |
else:
|
569 |
posts_sync_message, token_state = _sync_linkedin_posts_internal(token_state, fetch_count_for_posts_api)
|
570 |
# _sync_linkedin_posts_internal now handles its own logging internally
|