Skip to content
Snippets Groups Projects
Select Git revision
  • 54356d23ae63e0c6a9547f94f99fa9083fec79b0
  • master default protected
  • gitkeep
  • dev protected
  • Issue/2583-treeBug
  • Hotfix/2504-formGen
  • Issue/2309-docs
  • Issue/2462-removeTraces
  • Hotfix/2459-EncodingPath
  • Hotfix/2452-linkedDeletion
  • Issue/1792-newMetadataStructure
  • Hotfix/2384-guestsAndLinked
  • v2.8.14-Hotfix2365
  • Hotfix/2365-targetClassWorks
  • Hotfix/2371-fixGitLabinRCV
  • Fix/xxxx-activateGitlab
  • Test/xxxx-enablingGitLab
  • Issue/2349-gitlabHttps
  • Issue/2287-guestRole
  • Hotfix/2296-selectedValuesNotReturned
  • Issue/2102-gitLabResTypeRCV
  • v2.11.5
  • v2.11.4
  • v2.11.3
  • v2.11.2
  • v2.11.1
  • v2.11.0
  • v2.10.3
  • v2.10.2
  • v2.10.1
  • v2.10.0
  • v2.9.4
  • v2.9.3
  • v2.9.2
  • v2.9.1
  • v2.9.0
  • v2.8.16
  • v2.8.15
  • v2.8.14
  • v2.8.13
  • v2.8.12
41 results

Startup.cs

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Startup.cs 647 B
    using Coscine.WaterbutlerHelper.Services;
    using Coscine.ApiCommons;
    using Microsoft.Extensions.DependencyInjection;
    using System;
    
    namespace Coscine.Api.Tree
    {
        public class Startup : AbstractStartup
        {
            public Startup()
            {
    
            }
    
            public override void ConfigureServicesExtension(IServiceCollection services)
            {
                base.ConfigureServicesExtension(services);
    
                services.AddHttpClient<IDataSourceService, DataSourceService>(client =>
                {
                    //TODO: Discuss Timeout value
                    client.Timeout = TimeSpan.FromMinutes(30);
                });
            }
        }
    }