forked from iv-org/invidious
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use ThinLTO #75
Open
FireMasterK
wants to merge
32
commits into
master
Choose a base branch
from
thin-lto
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Use ThinLTO #75
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Does not work with two images at the same time
* Update German translation * Add Bengali (Bangladesh) translation * Update Bengali (Bangladesh) translation * Update Portuguese (Portugal) translation * Update Icelandic translation * Update Bengali (Bangladesh) translation * Update Bengali (Bangladesh) translation * Add Catalan translation * Update Norwegian Bokmål translation * Add French (Canada) translation * Update German translation * Update Polish translation * Update Dutch translation * Update French translation * Update Italian translation * Update Greek translation * Update French (Canada) translation * Update Turkish translation * Update Norwegian Bokmål translation * Update Esperanto translation * Update Esperanto translation * Add Slovak translation * Update Slovak translation * Update Serbian (cyrillic) translation * Update Slovak translation * Update Esperanto translation * Add Persian translation * Update Persian translation * Add Kannada translation * Update Kannada translation * Update Bengali (Bangladesh) translation * Update Spanish translation * Update Portuguese (Brazil) translation * Update Chinese (Traditional) translation * Update Swedish translation * Update Portuguese (Portugal) translation * Add Finnish translation * Update Dutch translation * Update Finnish translation * Add Indonesian translation * Add Portuguese translation * Update Portuguese (Portugal) translation * Update Indonesian translation * Update Portuguese translation * Update Polish translation * Update Polish translation * Update Portuguese (Brazil) translation * Update Chinese (Simplified) translation * Add Croatian translation * Update Croatian translation * Update Norwegian Bokmål translation * Update Swedish translation * Update Croatian translation * Update Japanese translation * Update Indonesian translation * Add Danish translation * Update Bengali (Bangladesh) translation * Update Danish translation * Update Chinese (Simplified) translation * Update French (Canada) translation * Add Malayalam translation * Update Swedish translation * Update Greek translation * Update Greek translation * Update Portuguese (Brazil) translation * Delete Catalan translation * Delete Malayalam translation * Delete Kannada translation * Delete French (Canada) translation * Delete Portuguese translation Co-authored-by: Jeannette L <[email protected]> Co-authored-by: Oymate <[email protected]> Co-authored-by: Paulo Marinho <[email protected]> Co-authored-by: recette-lemon <[email protected]> Co-authored-by: Adolfo Jayme Barrientos <[email protected]> Co-authored-by: Allan Nordhøy <[email protected]> Co-authored-by: Oğuz Ersen <[email protected]> Co-authored-by: Attila Farkas <[email protected]> Co-authored-by: bongo bongo <[email protected]> Co-authored-by: nathgit <[email protected]> Co-authored-by: Kevin Scruff <[email protected]> Co-authored-by: Yogesh <[email protected]> Co-authored-by: The Cats <[email protected]> Co-authored-by: FeiYang <[email protected]> Co-authored-by: Luna Jernberg <[email protected]> Co-authored-by: ssantos <[email protected]> Co-authored-by: Unihuppio <[email protected]> Co-authored-by: Joachim Opdenakker <[email protected]> Co-authored-by: ziasukmana <[email protected]> Co-authored-by: Atrate <[email protected]> Co-authored-by: Karol Kosek <[email protected]> Co-authored-by: André Marcelo Alvarenga <[email protected]> Co-authored-by: Eric <[email protected]> Co-authored-by: Milo Ivir <[email protected]> Co-authored-by: Petter Reinholdtsen <[email protected]> Co-authored-by: Y. Sakamoto <[email protected]> Co-authored-by: Nimityx <[email protected]> Co-authored-by: HackerNCoder <[email protected]> Co-authored-by: vachan-maker <[email protected]> Co-authored-by: fresh <[email protected]> Co-authored-by: TheFrenchGhosty <[email protected]>
The config file can now be specified with `INVIDIOUS_CONFIG_FILE`. A YAML formatted string can still be passed with `INVIDIOUS_CONFIG`, replacing the config file. Additionally all options can now be specified as environment variables. The syntax for variable names is `INVIDIOUS_` followed by the option name in upper case. The values are parsed as YAML. These new env vars only update the provided main configuration, but it is possible to point the config file at the example config and then use env vars for all config options: ``` INVIDIOUS_CONFIG_FILE=./config/config.example.yml \ INVIDIOUS_CHANNEL_THREADS=10 \ ./invidious ```
Instead of passing around `config` there is now the global `CONFIG`.
If `channel_threads` or `feed_threads` is set to zero the corresponding job is now not started.
Crystal's `Logger` was required but never used in Invidious. Crystal 0.36.0 removed `Logger` in favor of `Log`.
Simple routes have been moved into a single `Misc` file. Embed routes have been moved into a single `Embed` file. The preferences route has been renamed to be more consistent with other parts of the codebase.
Rename `HTTPClient@socket` to `HTTPClient@io`, see crystal-lang/crystal#9543. Rename `URI#full_path` to `URI#request_target`, see crystal-lang/crystal#10099.
Crystal versions below `0.36.0` are no longer supported.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.