Merge branch 'master' into develop
This commit is contained in:
Vendored
+1
-1
@@ -10,7 +10,7 @@ pipeline {
|
||||
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=289']) {
|
||||
withEnv(['NEXT_BUILD_NUMBER=290']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '2.3.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '2.3.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'SOUR'
|
||||
|
||||
@@ -499,7 +499,7 @@ namespace SOUR.Core.Services
|
||||
/// <returns></returns>
|
||||
public long ListLen(string queueName)
|
||||
{
|
||||
return connRedis.GetDatabase().ListLength((RedisKey)queueName);
|
||||
return currDB.ListLength((RedisKey)queueName);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -509,7 +509,7 @@ namespace SOUR.Core.Services
|
||||
/// <returns></returns>
|
||||
public string ListPop(string queueName)
|
||||
{
|
||||
return connRedis.GetDatabase().ListLeftPop((RedisKey)queueName).ToString();
|
||||
return currDB.ListLeftPop((RedisKey)queueName).ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -519,7 +519,7 @@ namespace SOUR.Core.Services
|
||||
/// <returns></returns>
|
||||
public void ListPush(string queueName, string value)
|
||||
{
|
||||
connRedis.GetDatabase().ListRightPush((RedisKey)queueName, (RedisValue)value);
|
||||
currDB.ListRightPush((RedisKey)queueName, (RedisValue)value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1184,7 +1184,7 @@ namespace SOUR.Core.Services
|
||||
/// <returns></returns>
|
||||
public long StackLen(string stackName)
|
||||
{
|
||||
return connRedis.GetDatabase().ListLength((RedisKey)stackName);
|
||||
return currDB.ListLength((RedisKey)stackName);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1194,7 +1194,7 @@ namespace SOUR.Core.Services
|
||||
/// <returns></returns>
|
||||
public string StackPop(string stackName)
|
||||
{
|
||||
return connRedis.GetDatabase().ListRightPop((RedisKey)stackName).ToString();
|
||||
return currDB.ListRightPop((RedisKey)stackName).ToString();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1204,7 +1204,7 @@ namespace SOUR.Core.Services
|
||||
/// <param name="value"></param>
|
||||
public void StackPush(string stackName, string value)
|
||||
{
|
||||
connRedis.GetDatabase().ListRightPush((RedisKey)stackName, (RedisValue)value);
|
||||
currDB.ListRightPush((RedisKey)stackName, (RedisValue)value);
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
Reference in New Issue
Block a user