-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from msmakouz/updating-sf
Updating SF, adding RR and Cycle bridges
- Loading branch information
Showing
13 changed files
with
348 additions
and
90 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Debug mode disabled view cache and enabled higher verbosity. | ||
DEBUG = true | ||
DEBUG=true | ||
|
||
# Set to application specific value, used to encrypt/decrypt cookies and etc. | ||
ENCRYPTER_KEY = {encrypt-key} | ||
ENCRYPTER_KEY={encrypt-key} | ||
|
||
# Set to TRUE to disable confirmation in `migrate` commands. | ||
SAFE_MIGRATIONS = true | ||
SAFE_MIGRATIONS=true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,29 @@ | ||
# grpc service configuration. | ||
grpc: | ||
listen: tcp://0.0.0.0:50051 | ||
proto: "proto/service.proto" | ||
workers.command: "php app.php" | ||
tls.key: "app.key" | ||
tls.cert: "app.crt" | ||
version: '2.7' | ||
|
||
# queue and jobs | ||
jobs: | ||
dispatch: | ||
app-job-*.pipeline: "local" | ||
pipelines: | ||
local: | ||
broker: "ephemeral" | ||
consume: ["local"] | ||
rpc: | ||
listen: tcp://127.0.0.1:6001 | ||
|
||
workers: | ||
server: | ||
command: "php app.php" | ||
pool.numWorkers: 2 | ||
relay: pipes | ||
|
||
# control the max memory usage | ||
limit: | ||
services: | ||
grpc.maxMemory: 100 | ||
# queue and jobs | ||
jobs: | ||
consume: [ "local" ] | ||
pool: | ||
num_workers: 2 | ||
supervisor: | ||
max_worker_memory: 100 | ||
|
||
# grpc service configuration. | ||
grpc: | ||
listen: "tcp://0.0.0.0:50051" | ||
proto: | ||
- "proto/service.proto" | ||
tls: | ||
key: "app.key" | ||
cert: "app.crt" | ||
pool: | ||
num_workers: 2 | ||
supervisor: | ||
max_worker_memory: 100 |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
return [ | ||
/** | ||
* Path to protoc-gen-php-grpc library. | ||
*/ | ||
'binaryPath' => __DIR__ . '/../../protoc-gen-php-grpc', | ||
'services' => [ | ||
__DIR__ . '/../../proto/service.proto', | ||
], | ||
]; |
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
Oops, something went wrong.