Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/event_store/subscriptions/subscription_fsm.ex
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ defmodule EventStore.Subscriptions.SubscriptionFsm do
end

defevent checkpoint(), data: %SubscriptionState{} = data do
next_state(:subscribed, persist_checkpoint(data))
next_state(:request_catch_up, persist_checkpoint(data))
end
end

Expand All @@ -123,7 +123,7 @@ defmodule EventStore.Subscriptions.SubscriptionFsm do
end

defevent checkpoint(), data: %SubscriptionState{} = data do
next_state(:subscribed, persist_checkpoint(data))
next_state(:catching_up, persist_checkpoint(data))
end
end

Expand Down Expand Up @@ -199,7 +199,7 @@ defmodule EventStore.Subscriptions.SubscriptionFsm do
end

defevent checkpoint(), data: %SubscriptionState{} = data do
next_state(:subscribed, persist_checkpoint(data))
next_state(:max_capacity, persist_checkpoint(data))
end
end

Expand Down
Loading