from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals

# The base domain name for this installation. Used to control linking to
#      sub-domains.
SERVER_NAME = "warehouse.local"

# The URI for our PostgreSQL database.
SQLALCHEMY_DATABASE_URI = "postgres:///warehouse"

# The URI for our Redis database.
REDIS_URI = "redis://localhost:6379/0"

# The amount of time (in seconds) that synchronizing each project can take
#   before timing out.
SYNCHRONIZATION_TIMEOUT = 60 * 15

# The type of Storage to use.
STORAGE = "stockpile.filesystem:HashedFileSystem"

# Options to pass into the stockpile storage backend
STORAGE_OPTIONS = {
    "location": "data",
    "hash_algorithm": "md5",
}

from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals

# The base domain name for this installation. Used to control linking to
#      sub-domains.
SERVER_NAME = "warehouse.local"

# The URI for our PostgreSQL database.
SQLALCHEMY_DATABASE_URI = "postgres:///warehouse"

# The URI for our Redis database.
REDIS_URI = "redis://localhost:6379/0"

# The type of Storage to use.
STORAGE = "stockpile.filesystem:HashedFileSystem"

# Options to pass into the stockpile storage backend
STORAGE_OPTIONS = {
    "location": "data",
    "hash_algorithm": "md5",
}

Remove a no longer used setting
Remove a no longer used setting

With the removal of eventlet there is no longer a mechanism for
timing out a synchronization.

  from __future__ import absolute_import
  from __future__ import division
  from __future__ import unicode_literals
  
  # The base domain name for this installation. Used to control linking to
  #      sub-domains.
  SERVER_NAME = "warehouse.local"
  
  # The URI for our PostgreSQL database.
  SQLALCHEMY_DATABASE_URI = "postgres:///warehouse"
  
  # The URI for our Redis database.
  REDIS_URI = "redis://localhost:6379/0"
  
- # The amount of time (in seconds) that synchronizing each project can take
- #   before timing out.
- SYNCHRONIZATION_TIMEOUT = 60 * 15
- 
  # The type of Storage to use.
  STORAGE = "stockpile.filesystem:HashedFileSystem"
  
  # Options to pass into the stockpile storage backend
  STORAGE_OPTIONS = {
      "location": "data",
      "hash_algorithm": "md5",
  }
  
Remove a no longer used setting
## Code Before:
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals

# The base domain name for this installation. Used to control linking to
#      sub-domains.
SERVER_NAME = "warehouse.local"

# The URI for our PostgreSQL database.
SQLALCHEMY_DATABASE_URI = "postgres:///warehouse"

# The URI for our Redis database.
REDIS_URI = "redis://localhost:6379/0"

# The amount of time (in seconds) that synchronizing each project can take
#   before timing out.
SYNCHRONIZATION_TIMEOUT = 60 * 15

# The type of Storage to use.
STORAGE = "stockpile.filesystem:HashedFileSystem"

# Options to pass into the stockpile storage backend
STORAGE_OPTIONS = {
    "location": "data",
    "hash_algorithm": "md5",
}

## Instruction:
Remove a no longer used setting
## Code After:
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals

# The base domain name for this installation. Used to control linking to
#      sub-domains.
SERVER_NAME = "warehouse.local"

# The URI for our PostgreSQL database.
SQLALCHEMY_DATABASE_URI = "postgres:///warehouse"

# The URI for our Redis database.
REDIS_URI = "redis://localhost:6379/0"

# The type of Storage to use.
STORAGE = "stockpile.filesystem:HashedFileSystem"

# Options to pass into the stockpile storage backend
STORAGE_OPTIONS = {
    "location": "data",
    "hash_algorithm": "md5",
}
