Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Commit 457453d

Browse files
committed
remove old tutorial related files
1 parent 946552e commit 457453d

9 files changed

+0
-61
lines changed

Dockerfiles/crdt-tutorial

-15
This file was deleted.

Dockerfiles/partisan-tutorial

-15
This file was deleted.

Makefile

-6
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,4 @@ logs:
154154

155155
DIALYZER_APPS = kernel stdlib erts sasl eunit syntax_tools compiler crypto
156156

157-
crdt-tutorial: stage
158-
tmux -f tmux.conf kill-server; tmux -f crdt-tmux.conf start-server; tmux -f crdt-tmux.conf attach -d -t lasp
159-
160-
partisan-tutorial: stage
161-
tmux -f tmux.conf kill-server; tmux -f partisan-tmux.conf start-server; tmux -f partisan-tmux.conf attach -d -t lasp
162-
163157
include tools.mk

crdt-tmux.conf

-4
This file was deleted.

partisan-tmux.conf

-6
This file was deleted.

src/lasp_state_based_synchronization_backend.erl

-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ code_change(_OldVsn, State, _Extra) ->
323323
%% @private
324324
schedule_state_synchronization() ->
325325
ShouldSync = true
326-
andalso (not ?SYNC_BACKEND:tutorial_mode())
327326
andalso (
328327
?SYNC_BACKEND:peer_to_peer_mode()
329328
orelse

src/lasp_sup.erl

-5
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,6 @@ configure_defaults() ->
224224
lager:info("Setting jitter percent: ~p", [JitterPercent]),
225225
lasp_config:set(jitter_percent, JitterPercent),
226226

227-
TutorialDefault = list_to_atom(os:getenv("TUTORIAL", "false")),
228-
Tutorial = application:get_env(?APP, tutorial, TutorialDefault),
229-
lager:info("Setting tutorial: ~p", [Tutorial]),
230-
lasp_config:set(tutorial, Tutorial),
231-
232227
EventIntervalDefault = list_to_integer(os:getenv("EVENT_INTERVAL", "0")),
233228
EventInterval = application:get_env(?APP, event_interval, EventIntervalDefault),
234229
lager:info("Setting event interval: ~p", [EventInterval]),

src/lasp_synchronization_backend.erl

-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
log_transmission/2]).
2828

2929
-export([broadcast_tree_mode/0,
30-
tutorial_mode/0,
3130
client_server_mode/0,
3231
peer_to_peer_mode/0,
3332
i_am_server/0,
@@ -106,10 +105,6 @@ shuffle(L) ->
106105
broadcast_tree_mode() ->
107106
lasp_config:get(broadcast, false).
108107

109-
%% @private
110-
tutorial_mode() ->
111-
lasp_config:get(tutorial, false).
112-
113108
%% @private
114109
client_server_mode() ->
115110
lasp_config:peer_service_manager() == partisan_client_server_peer_service_manager.

tmux.conf

-4
This file was deleted.

0 commit comments

Comments
 (0)