anchor.diff:  -define(DEFAULT_WEB_SERVER, cowboy).
   
   -record(state, {
  -        applications = [],
  +        applications	= [],
           service_sup_pid,
           http_pid,
           smtp_pid,
  -        is_master_node = false
  +        is_master_node	= false
       }).
   
   -include("boss_web.hrl").
   
   start_link() ->
  -    start_link([]).
  +    init_master_node().
  +
  +init_master_node() -> start_link([]).
   
   start_link(Config) ->
       gen_server:start_link({local, boss_web}, ?MODULE, Config, []).
  
positive.code:                          {cache_servers, boss_env:get_env(cache_servers, [{"127.0.0.1", 11211, 1}])}]
                  end,
              boss_cache:start(CacheOptions)
      end,
  
      boss_session:start(),
  
      ThisNode = erlang:node(),
      MasterNode = boss_env:master_node(),
      if
          MasterNode =:= ThisNode ->
  
negative.code:             CacheOptions =
                  case CacheAdapter of
                      ets ->
                          MaxSize		= boss_env:get_env(ets_maxsize, 32 * 1024 * 1024),
                          Threshold	= boss_env:get_env(ets_threshold, 0.85),
                          Weight		= boss_env:get_env(ets_weight, 30),
                          [{adapter, ets}, {ets_maxsize, MaxSize},
                           {ets_threshold, Threshold}, {ets_weight, Weight}];
                      _ ->
  