Skip to content

Commit

Permalink
Merge pull request #23 from invenia/mjr/memento-v1
Browse files Browse the repository at this point in the history
Add Memento v1
  • Loading branch information
mjram0s authored Apr 17, 2020
2 parents 1b83cc1 + c1ebd79 commit cc4d777
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "CloudWatchLogs"
uuid = "c4c1e6a2-6bdd-52e0-b56d-1d4734724d2d"
version = "1.1.3"
version = "1.2.0"

[deps]
AWSCore = "4f1ea46c-232b-54a6-9b17-cc2d0f3e6598"
Expand All @@ -14,7 +14,7 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
[compat]
AWSCore = "0.6"
MbedTLS = "0.5, 0.6, 0.7"
Memento = "0.12"
Memento = "0.13, 1"
Mocking = "0.7"
TimeZones = "0.9, 0.10, 0.11, 1"
julia = "1"
Expand Down
2 changes: 1 addition & 1 deletion src/handler.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Do not share a stream between processes
# The token would be shared so putting would give InvalidSequenceTokenException a lot
struct CloudWatchLogHandler{F<:Formatter} <: Handler{F, Union{}}
struct CloudWatchLogHandler{F<:Formatter} <: Handler{F}
stream::CloudWatchLogStream
channel::Channel{LogEvent} # only one task should read from this channel
fmt::F
Expand Down
2 changes: 1 addition & 1 deletion test/online.jl
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ end
end
end

sleep(1) # wait until AWS has injested the logs; this may or may not be enough
sleep(5) # wait until AWS has injested the logs; this may or may not be enough
response = logs(
CFG,
"GetLogEvents";
Expand Down

2 comments on commit cc4d777

@mjram0s
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/13166

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.2.0 -m "<description of version>" cc4d777191e5cb82ffe0fe9146dde00836f45b58
git push origin v1.2.0

Please sign in to comment.