📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 09:12:01
📂
/ (Root)
/
opt
/
alt
/
alt-nodejs9
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
npm-registry-client
/
lib
📍 /opt/alt/alt-nodejs9/root/usr/lib/node_modules/npm/node_modules.bundled/npm-registry-client/lib
🔄 Refresh
✏️
Editing: attempt.js
Read Only
var retry = require('retry') module.exports = attempt function attempt (cb) { // Tuned to spread 3 attempts over about a minute. // See formula at <https://github.com/tim-kos/node-retry>. var operation = retry.operation(this.config.retry) var client = this operation.attempt(function (currentAttempt) { client.log.info( 'attempt', 'registry request try #' + currentAttempt + ' at ' + (new Date()).toLocaleTimeString() ) cb(operation) }) }
💾 Save Changes
❌ Cancel