Alexandre Verri

Results 18 comments of Alexandre Verri

Hi @uwolfer, yes, I have checked out that points. The problem occurs although the configuration is correct according to the following. - at Git repositories are configured in the 'Version...

@uwolfer, could you please give an example of: - Add a remote whose name equals the Gerrit project name with Gerrit web url as remote url.

I'm having the same issues. This is my `index.js`: ```javascript const express = require('@feathersjs/express') const proxy = require('http-proxy-middleware') const fs = require('fs') const server = express() const proxied = proxy({...

Using the fork mode is not always desirable. If used properly, the **cluster mode** will create the same number of processes as CPU cores, thus maximizing the resources utilization. This...

Please have a look at: https://github.com/Unitech/pm2/issues/1510 Some people are mentioning about changing the ports of each process created by pm2 cluster mode, which is wrong, we should not change the...

Hi @daffl, I think you have forgotten about this construction: ```javascript app.configure(socketio(io => { // https://docs.feathersjs.com/api/socketio.html io.use((socket, next) => { // At this point we have one context per client...

This is what I tried without success: ```javascript const {AsyncLocalStorage} = require('async_hooks') // other code... const storage = new AsyncLocalStorage() app.configure(socketio(io => { io.use((socket, next) => { const userAgent =...

Yeah, I created a service mixin and it does work partially. The context gets lost when there is an exception in the hooks or service methods: The complete `server.js` code:...

Hi David, please see this example. It's a modification of the original Nodejs documentation at https://nodejs.org/api/all.html#async_hooks_class_asynclocalstorage. ```javascript const {AsyncLocalStorage} = require('async_hooks') const kReq = 'CURRENT_REQUEST' const asyncLocalStorage = new AsyncLocalStorage()...

This also work: ```javascript function handleRequest(request) { const store = new Map() store.set(kReq, request) asyncLocalStorage.enterWith(store) const {path} = request invokeService(path) .then(result => { log('INFO', 'response', result) }) .catch(error => {...