Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Add serialization and deserialization of ids of already analyzed posts#14

Merged
ktos merged 3 commits intomasterfrom
serialize-analyzed
Oct 27, 2019
Merged

Add serialization and deserialization of ids of already analyzed posts#14
ktos merged 3 commits intomasterfrom
serialize-analyzed

Conversation

@ktos
Copy link
Copy Markdown
Owner

@ktos ktos commented Oct 26, 2019

Adds serialization and deserialization of already analyzed post_ids to achieve some kind of persistency between runs (closes #4). Everything is saved into one file, analyzed.bin.

Database is also saved on Ctrl+C press.

There is also a commandline option --ignoreAlreadyAnalyzed which is ignoring loading and saving this database.

@ktos ktos added this to the v0.7 milestone Oct 26, 2019
@ktos ktos force-pushed the serialize-analyzed branch from 7ee76c4 to 8197784 Compare October 27, 2019 15:17
@ktos ktos changed the title [WIP] Add serialization and deserialization of ids of already analyzed posts Add serialization and deserialization of ids of already analyzed posts Oct 27, 2019
@ktos ktos merged commit d1342fb into master Oct 27, 2019
@ktos ktos deleted the serialize-analyzed branch October 27, 2019 15:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add persistency for list of already analyzed posts

1 participant