-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.py
30 lines (21 loc) · 965 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/opt/python/bin/python
# -*- coding: utf-8 -*-
# used as rabbitmq virtual host and rabbitmq username, reads password from rabbitmq/rabbitmq_<username>.conf file
USERNAME = 'data_move'
# filter files by atime. Files older than OLDEST_DATE won't be copied. To disable set to 0.
OLDEST_DATE = 0 #90 * 24 * 60 * 60
# filter files by mtime. Files newer than NEWEST_DATE won't be copied. To disable set to 0.
# Useful for initial passes: the files with recent mtime are likely to change soon. Should be set to 0 for end pass.
NEWEST_DATE = 12*60*60 #24 * 60 * 60
# Minimal time between reports to memcached
REPORT_INTERVAL = 30 # seconds
# Send stats to memcached
STATS_ENABLED = True
# When having 2 MDS servers, we want to assign half of first-level folders to one of them and another half to another one
MDS_IS_STRIPED = False
# Copy from
source_mount = "/panda"
# Copy to
target_mount = "/badger"
# percent of random files to delete
percent_to_delete = 0