Skip to content

Instantly share code, notes, and snippets.

components:
responses:
UnauthorizedError:
description: Access token missing or invalid
schemas:
Post:
additionalProperties: false
description: A post
properties:
content:
** (StreamData.FilterTooNarrowError) too many (10) consecutive elements were filtered out. Make sure to avoid filters that are too strict and filter out too many elements and make sure a small generation size doesn't affect the filter too heavily (such as when empty lists are filtered out but small generation size forces generation of many empty lists)
stacktrace:
(stream_data) lib/stream_data.ex:294: anonymous fn/5 in StreamData.bind_filter/3
(stream_data) lib/stream_data.ex:160: StreamData.call/3
(stream_data) lib/stream_data/lazy_tree.ex:60: StreamData.LazyTree.map/2
(stream_data) lib/stream_data.ex:311: StreamData.bind_filter/5
(stream_data) lib/stream_data.ex:290: anonymous fn/5 in StreamData.bind_filter/3
(stream_data) lib/stream_data.ex:160: StreamData.call/3
(stream_data) lib/stream_data/lazy_tree.ex:60: StreamData.LazyTree.map/2
(stream_data) lib/stream_data.ex:311: StreamData.bind_filter/5
defmodule HPortalBackend.Test.IceTest do
use ExUnitProperties
alias HPortalBackend.Rtc.Ice
property "parses all possible ice config strings" do
check all foo <- generator() do
IO.inspect foo
end
end
defmodule HPortal.Schema do
@moduledoc """
HPortal GraphQL schema entry point
"""
use Absinthe.Schema
def middleware(middleware, _ , _) do
middleware ++ [HPortal.Schema.Middleware.AuthorizeErrors]
end
%{"base64url": {:hex, :base64url, "0.0.1", "36a90125f5948e3afd7be97662a1504b934dd5dac78451ca6e9abf85a10286be", [:rebar], []},
"bunt": {:hex, :bunt, "0.1.6", "5d95a6882f73f3b9969fdfd1953798046664e6f77ec4e486e6fafc7caad97c6f", [:mix], []},
"can": {:git, "https://github.com/tonyrog/can.git", "5a407f663ccb5410f3b7480e1ebda00fc51d62a8", [tag: "1.2"]},
"certifi": {:hex, :certifi, "0.7.0", "861a57f3808f7eb0c2d1802afeaae0fa5de813b0df0979153cbafcd853ababaf", [:rebar3], []},
"comeonin": {:hex, :comeonin, "2.6.0", "74c288338b33205f9ce97e2117bb9a2aaab103a1811d243443d76fdb62f904ac", [:make, :make, :mix], []},
"connection": {:hex, :connection, "1.0.4", "a1cae72211f0eef17705aaededacac3eb30e6625b04a6117c1b2db6ace7d5976", [:mix], []},
"cowboy": {:hex, :cowboy, "1.0.4", "a324a8df9f2316c833a470d918aaf73ae894278b8aa6226ce7a9bf699388f878", [:make, :rebar], [{:cowlib, "~> 1.0.0", [hex: :cowlib, optional: false]}, {:ranch, "~> 1.0", [hex: :ranch, optional: false]}]},
"cowlib": {:hex, :cowlib, "1.0.2", "9d769a1d062c9c3
diff --git a/lib/elixir_mod_event/connection.ex b/lib/elixir_mod_event/connection.ex
index 26dc043..43bb486 100644
--- a/lib/elixir_mod_event/connection.ex
+++ b/lib/elixir_mod_event/connection.ex
@@ -296,7 +296,7 @@ defmodule FSModEvent.Connection do
Logger.info "Starting FS connection"
{:ok, socket} = :gen_tcp.connect(
to_char_list(options[:host]), options[:port], [
- packet: 0, active: :once, mode: :list
+ packet: 0, active: :once, mode: :binary
@xadhoom
xadhoom / erl_crash.dump
Created October 3, 2015 13:26
elixir_mod_event erl crash
=erl_crash_dump:0.3
Fri Oct 2 18:00:06 2015
Slogan: eheap_alloc: Cannot allocate 635738744 bytes of memory (of type "heap").
System version: Erlang/OTP 18 [erts-7.1] [source-2882b0c] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]
Compiled: Wed Sep 23 15:34:00 2015
Taints:
Atoms: 14361
Calling Thread: scheduler:2
=scheduler:1
Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING