Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map render lag's #619

Closed
merqlove opened this issue Feb 15, 2017 · 3 comments · Fixed by #627
Closed

Map render lag's #619

merqlove opened this issue Feb 15, 2017 · 3 comments · Fixed by #627

Comments

@merqlove
Copy link
Contributor

Any IDE (RubyMine, IDEA)

screenshot 2017-02-15 23 27 28

defmodule InFactApi.Actors.ModelPreparePipeline do
  use ExActor.GenServer, export: :model_prepare_server

  alias InFactApi.TaskLogger, as: Logger
  use InFactApi.Actors.Statuses, statuses: %{
    prepare_initial: -1,
    prepare_parse_error: 0,
    prepare_parsed: 1,
    prepare_error: 10,
    prepare_fetching: 11,
    prepare_waiting: 12,
    prepare_prepared: 13,
    prepare_query_gen_error: 20,
    prepare_success: 21
  }, error_statuses: [0, 10, 20]
end
@KronicDeth KronicDeth added this to the v5.0.0 milestone Feb 16, 2017
@KronicDeth
Copy link
Owner

Thanks for including the code in the description, so I don't have to transcribe it from the screenshot.

@KronicDeth
Copy link
Owner

defmodule InFactApi.Actors.ModelPreparePipeline do
  use ExActor.GenServer, export: :model_prepare_server

  alias InFactApi.TaskLogger, as: Logger
  use InFactApi.Actors.Statuses, statuses: %{
    prepare_initial: -1,
    prepare_parse_error: 0,
    prepare_parsed: 1,
    prepare_error: 10,
    prepare_fetching: 11,
    prepare_waiting: 12,
    prepare_prepared: 13,
    prepare_query_gen_error: 20,
    prepare_success: 21
  }, error_statuses: [0, 10, 20]
end

renders as

screen shot 2017-02-22 at 10 01 29 pm

in a scratch tab for me. The golden color applied to the 0, and ching part of prepare_fetching is used for types and specs. Do you have one later in the file?

@KronicDeth
Copy link
Owner

The golden color is definitely #626. Marking as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants