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

User find #31

Merged
merged 40 commits into from
Nov 15, 2024
Merged

User find #31

merged 40 commits into from
Nov 15, 2024

Conversation

akinsey
Copy link
Member

@akinsey akinsey commented Nov 14, 2024

Poorly named branch, sorry.

This adds:

  • fixed parser bugs
  • optimized gen server parser
  • working profile page routes
  • updated elixir/erlang
  • fixed tests/static analysis

akinsey and others added 30 commits October 22, 2024 12:46
…e, update proxy pagination to support next/prev
use GenServer
require Logger
alias Porcelain.Process, as: Proc
@timeout 10_000
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

timeout's unreasonably long. should reduce it to a realistic amount

long timeout will hang and back up the queue if there is an issue

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

an example is when empty string is given as input

@@ -407,6 +407,16 @@ end

##### PROXY REPO CONFIGURATIONS #####

poolboy_config = [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can rename this to bbc_parser_config

it's the poolboy config for a specific part of the code;
in the case we add another poolboy managed process, we'll need the extra namespace

@@ -21,6 +21,8 @@ defmodule EpochtalkServer.Application do
EpochtalkServer.Repo,
# Start the Smf repository
EpochtalkServer.SmfRepo,
# Start the BBC Parser
:poolboy.child_spec(:bbc_parser, poolboy_config()),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when we call child_spec here, poolboy_config() call can be changed to a call to bbc_parse_config()

@@ -15,6 +15,10 @@ function setReasonableValues()
$context['browser']['is_ie5'] = false;
$context['browser']['is_ie5.5'] = false;

// Fix for portuguese characters (test: http://localhost:8000/threads/5515847)
$context['utf8'] = true;
$context['server']['complex_preg_chars'] = true;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

unenglishable and others added 4 commits November 15, 2024 10:21
specifically, the poolboy_config for bbc_parser
10 seconds is much too long, we don't want to take up resources for that
amount of time.  1 second is fairly long as well
Copy link
Collaborator

@unenglishable unenglishable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

g 👀 d 👌

@unenglishable unenglishable merged commit 17baed6 into main Nov 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants