Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

丁松杰 / Pole

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • Pole
  • src
  • Pole.Sagas.Client
  • PoleSagasOption.cs
Find file
BlameHistoryPermalink
  • dingsongjie's avatar
    完成 sagas 基本测试 · ef47889d
    dingsongjie committed 5 years ago
    ef47889d
PoleSagasOption.cs 662 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
using System;
using System.Collections.Generic;
using System.Text;

namespace Pole.Sagas.Client
{
    public class PoleSagasOption
    {
        public string ServiceName { get; set; }
        public int PreSagasGrpcStreamingResponseLimitCount { get; set; } = 20;
        public int MaxCompensateTimes { get; set; } = 10;
        public int MaxOvertimeCompensateTimes { get; set; } = 3;
        public int CompeletedSagaExpiredAfterSeconds { get; set; } = 60 * 10;
        public int SagasTimeOutSeconds { get; set; } = 60;
        public string SagasServerHost { get; set; }
        public int GrpcConnectFailRetryIntervalSeconds { get; set; } = 10;
    }
}