Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
添加win特定的redis.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
WindyCloudCute committed Nov 12, 2023
1 parent 33c1ec6 commit 16bea45
Show file tree
Hide file tree
Showing 3 changed files with 1,376 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/LANraragi/Controller/Api/Minion.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use Redis;

use LANraragi::Model::Stats;
use LANraragi::Utils::TempFolder qw(get_tempsize clean_temp_full);
use LANraragi::Utils::Generic qw(render_api_response);
use LANraragi::Utils::Plugins qw(get_plugin get_plugins get_plugin_parameters use_plugin);
use LANraragi::Utils::Generic qw(render_api_response);
use LANraragi::Utils::Plugins qw(get_plugin get_plugins get_plugin_parameters use_plugin);

# Returns basic info for the given Minion job id.
sub minion_job_status {
Expand Down Expand Up @@ -49,9 +49,9 @@ sub minion_job_detail {
# Queues a job into Minion.
sub queue_minion_job {

my ($self) = shift;
my $jobname = $self->stash('jobname');
my @jobargs = decode_json( $self->req->param('args') );
my ($self) = shift;
my $jobname = $self->stash('jobname');
my @jobargs = decode_json( $self->req->param('args') );
my $priority = $self->req->param('priority') || 0;

my $jobid = $self->minion->enqueue( $jobname => @jobargs => { priority => $priority } );
Expand Down
2 changes: 1 addition & 1 deletion tools/build/windows/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rm .\redis.tar.gz
mv .\Redis-7.0.14-Windows-x64 .\Redis

# Copy redis.conf to redis folder
cp ..\..\..\docker\redis.conf .\Redis\redis.conf
cp ..\..\redis.conf .\Redis\redis.conf

# Use Karen master
cd ..
Expand Down
Loading

0 comments on commit 16bea45

Please sign in to comment.