Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Sep 12, 2021
1 parent c93b022 commit 34de587
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.2.2 (2021-09-12)

- Add exponential backoff for failing feeds ([#155](https://github.com/ayrat555/el_monitorro/pull/155))
- Add admin stats (/info) commands ([#156](https://github.com/ayrat555/el_monitorro/pull/156), [#157](https://github.com/ayrat555/el_monitorro/pull/157))
- Decrease docker image size ([#c93b02233bff](https://github.com/ayrat555/el_monitorro/commit/c93b02233bff8adeed77ffe32f2a5215006ac108))

## 0.2.1 (2021-09-08)

- always update synced_at in feeds ([#154](https://github.com/ayrat555/el_monitorro/pull/154))
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "el_monitorro"
version = "0.2.1"
version = "0.2.2"
authors = ["Ayrat Badykov <[email protected]>"]
edition = "2018"

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ All configuration is done through env variables
| CLEAN_WORKERS_NUMBER | no | 1 | The number of workers to remove old data |
| OWNER_TELEGRAM_ID | no | -- | If this value is set, the bot will process commands from the specified chat id |
| REQUEST_TIMEOUT | no | 5 | Timeout in seconds for feed syncing requests |
| ADMIN_TELEGRAM_ID | no | -- | If this value is set, `/info` command with stats is available for ADMIN_TELEGRAM_ID |

### Using docker image

Expand Down
2 changes: 1 addition & 1 deletion src/sync/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub trait ReadFeed {
pub fn read_url(url: &str) -> Result<Vec<u8>, FeedReaderError> {
let client = match Request::get(url)
.timeout(Duration::from_secs(request_timeout_seconds()))
.header("User-Agent", "el_monitorro/0.2.1")
.header("User-Agent", "el_monitorro/0.2.2")
.redirect_policy(RedirectPolicy::Limit(10))
.body(())
{
Expand Down

0 comments on commit 34de587

Please sign in to comment.