Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #142 from WeTransfer/remove-appsignal
Browse files Browse the repository at this point in the history
Probably AppSignal plugin introduced a memory leaking
  • Loading branch information
dsnipe authored Oct 17, 2017
2 parents e825829 + c8150f6 commit b55d692
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
3 changes: 1 addition & 2 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ config :xperiments, Xperiments.Web.Endpoint,
secret_key_base: "wmyoXASvGJLg451QAYP78cyDkFi9d5MEDmG73goFsFdzg0cnSYxYxcWptWjqHjBs",
render_errors: [view: Xperiments.Web.V1.ErrorView, accepts: ~w(html json)],
pubsub: [name: Xperiments.PubSub,
adapter: Phoenix.PubSub.PG2],
instrumenters: [Appsignal.Phoenix.Instrumenter]
adapter: Phoenix.PubSub.PG2]

# Configures Elixir's Logger
config :logger, :console,
Expand Down
1 change: 0 additions & 1 deletion lib/xperiments/web/endpoint.ex
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
defmodule Xperiments.Web.Endpoint do
use Phoenix.Endpoint, otp_app: :xperiments
use Appsignal.Phoenix

socket "/socket", Xperiments.Web.UserSocket

Expand Down
1 change: 0 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ defmodule Xperiments.Mixfile do
{:guardian, "~> 0.14"},
{:bodyguard, "~> 0.6.1"},
{:distillery, "~> 1.0"},
{:appsignal, "~> 0.0"},
{:remote_ip, "~> 0.1.0"},
{:hammer, "~> 0.1.0"},
{:hammer_backend_redis, "~> 0.1.0"},
Expand Down
7 changes: 1 addition & 6 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
%{"appsignal": {:hex, :appsignal, "0.13.0", "ade5b81dd1528d0b8b3116d203210831b3ebe87312c81dbc650bf2339eb1ac89", [:make, :mix], [{:decorator, "~> 1.0", [hex: :decorator, optional: false]}, {:httpoison, "~> 0.11", [hex: :httpoison, optional: false]}, {:phoenix, "~> 1.2.0", [hex: :phoenix, optional: true]}]},
"base64url": {:hex, :base64url, "0.0.1", "36a90125f5948e3afd7be97662a1504b934dd5dac78451ca6e9abf85a10286be", [:rebar], []},
%{"base64url": {:hex, :base64url, "0.0.1", "36a90125f5948e3afd7be97662a1504b934dd5dac78451ca6e9abf85a10286be", [:rebar], []},
"bodyguard": {:hex, :bodyguard, "0.6.1", "f5b36ecdd29a81406e775760ceb330c50dfca6f70a3bf1d1814ec2700e537aad", [:mix], [{:plug, "~> 1.0", [hex: :plug, optional: false]}]},
"certifi": {:hex, :certifi, "1.0.0", "1c787a85b1855ba354f0b8920392c19aa1d06b0ee1362f9141279620a5be2039", [:rebar3], []},
"combine": {:hex, :combine, "0.9.6", "8d1034a127d4cbf6924c8a5010d3534d958085575fa4d9b878f200d79ac78335", [:mix], []},
Expand All @@ -9,19 +8,15 @@
"cowlib": {:hex, :cowlib, "1.0.2", "9d769a1d062c9c3ac753096f868ca121e2730b9a377de23dec0f7e08b1df84ee", [:make], []},
"db_connection": {:hex, :db_connection, "1.1.0", "b2b88db6d7d12f99997b584d09fad98e560b817a20dab6a526830e339f54cdb3", [:mix], [{:connection, "~> 1.0.2", [hex: :connection, optional: false]}, {:poolboy, "~> 1.5", [hex: :poolboy, optional: true]}, {:sbroker, "~> 1.0", [hex: :sbroker, optional: true]}]},
"decimal": {:hex, :decimal, "1.3.1", "157b3cedb2bfcb5359372a7766dd7a41091ad34578296e951f58a946fcab49c6", [:mix], []},
"decorator": {:hex, :decorator, "1.2.0", "b2440e8865a0b2a99db733880e0183319a1959197943376eef3e9231d491e777", [:mix], []},
"distillery": {:hex, :distillery, "1.1.2", "4cf32ecc70ca7eecca9e52e111edf320bd78011050825863cd8bc7ffee686c5d", [:mix], []},
"ecto": {:hex, :ecto, "2.1.3", "ffb24e150b519a4c0e4c84f9eabc8587199389bc499195d5d1a93cd3b2d9a045", [:mix], [{:db_connection, "~> 1.1", [hex: :db_connection, optional: true]}, {:decimal, "~> 1.2", [hex: :decimal, optional: false]}, {:mariaex, "~> 0.8.0", [hex: :mariaex, optional: true]}, {:poison, "~> 2.2 or ~> 3.0", [hex: :poison, optional: true]}, {:poolboy, "~> 1.5", [hex: :poolboy, optional: false]}, {:postgrex, "~> 0.13.0", [hex: :postgrex, optional: true]}, {:sbroker, "~> 1.0", [hex: :sbroker, optional: true]}]},
"ecto_state_machine": {:hex, :ecto_state_machine, "0.3.0", "e0ae4649e8496cac1feb4eb7ca4e9294a690acbdeab438b4caa738753d02a25d", [:mix], [{:ecto, ">= 2.0.0", [hex: :ecto, optional: false]}]},
"ex2ms": {:hex, :ex2ms, "1.5.0", "19e27f9212be9a96093fed8cdfbef0a2b56c21237196d26760f11dfcfae58e97", [:mix], []},
"ex_machina": {:hex, :ex_machina, "1.0.2", "1cc49e1a09e3f7ab2ecb630c17f14c2872dc4ec145d6d05a9c3621936a63e34f", [:mix], [{:ecto, "~> 2.0", [hex: :ecto, optional: true]}]},
"ex_rated": {:hex, :ex_rated, "1.3.1", "a835463a2a92e7b8eb40622f3041901fd813165dc0475f9176f79d80b9a6627c", [:mix], [{:ex2ms, "~> 1.5", [hex: :ex2ms, optional: false]}]},
"gettext": {:hex, :gettext, "0.13.0", "daafbddc5cda12738bb93b01d84105fe75b916a302f1c50ab9fb066b95ec9db4", [:mix], []},
"guardian": {:hex, :guardian, "0.14.4", "331e659e59d8dd2f0a4f05168fbdf511a025359d3c79b2a5406a87c7708393ca", [:mix], [{:jose, "~> 1.8", [hex: :jose, optional: false]}, {:phoenix, "~> 1.2", [hex: :phoenix, optional: true]}, {:plug, "~> 1.3", [hex: :plug, optional: false]}, {:poison, ">= 1.3.0", [hex: :poison, optional: false]}, {:uuid, ">=1.1.1", [hex: :uuid, optional: false]}]},
"hackney": {:hex, :hackney, "1.6.6", "5564b4695d48fd87859e9df77a7fa4b4d284d24519f0cd7cc898f09e8fbdc8a3", [:rebar3], [{:certifi, "1.0.0", [hex: :certifi, optional: false]}, {:idna, "4.0.0", [hex: :idna, optional: false]}, {:metrics, "1.0.1", [hex: :metrics, optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, optional: false]}]},
"hammer": {:hex, :hammer, "0.1.0", "25d535f49662c1a504e66c3c6f4a09421575565df5707166d760b30bb231bf0e", [:mix], []},
"hammer_backend_redis": {:hex, :hammer_backend_redis, "0.1.0", "84457bdf4bafd63b07e3778efacfc696cfb7e054bb92cd1f5df4bfedbf38ea26", [:mix], [{:redix, "~> 0.6", [hex: :redix, optional: false]}]},
"httpoison": {:hex, :httpoison, "0.11.0", "b9240a9c44fc46fcd8618d17898859ba09a3c1b47210b74316c0ffef10735e76", [:mix], [{:hackney, "~> 1.6.3", [hex: :hackney, optional: false]}]},
"idna": {:hex, :idna, "4.0.0", "10aaa9f79d0b12cf0def53038547855b91144f1bfcc0ec73494f38bb7b9c4961", [:rebar3], []},
"inet_cidr": {:hex, :inet_cidr, "1.0.2", "1acc8b89670aaf4aec7dd36d08f33d6ba6155be0fa30169abdb86b8431ecb175", [:mix], []},
"jose": {:hex, :jose, "1.8.4", "7946d1e5c03a76ac9ef42a6e6a20001d35987afd68c2107bcd8f01a84e75aa73", [:mix, :rebar3], [{:base64url, "~> 0.0.1", [hex: :base64url, optional: false]}]},
Expand Down

0 comments on commit b55d692

Please sign in to comment.