| |
@@ -173,8 +173,14 @@
|
| |
|
| |
|
| |
def sync_bugs(args):
|
| |
- fullsync = args.full
|
| |
docheck = args.check
|
| |
+ fullsync = args.full
|
| |
+ # FIXME: as a workaround for very slow standard sync times, perform a full
|
| |
+ # sync always. If no downsides are found, completely remove the "--full"
|
| |
+ # cmdline option (and related function arguments) and make full sync the
|
| |
+ # only approach.
|
| |
+ fullsync = True
|
| |
+
|
| |
|
| |
# grab the URL from app config so that it's syncing from the right place
|
| |
bzurl = app.config['BUGZILLA_XMLRPC']
|
| |
@@ -271,7 +277,7 @@
|
| |
help='Synchronize all')
|
| |
sync_parser.add_argument('-f', '--full',
|
| |
action='store_true', default=False,
|
| |
- help='Force full sync')
|
| |
+ help='Force full sync (ignored temporarily)')
|
| |
sync_parser.add_argument('-c', '--check',
|
| |
action='store_true', default=False,
|
| |
help='Force check for missing blocker bugs after sync')
|
| |
@@ -281,7 +287,7 @@
|
| |
help='Synchronize bugs only')
|
| |
sync_bugs_parser.add_argument('-f', '--full',
|
| |
action='store_true', default=False,
|
| |
- help='Force full sync')
|
| |
+ help='Force full sync (ignored temporarily)')
|
| |
sync_bugs_parser.add_argument('-c', '--check',
|
| |
action='store_true', default=False,
|
| |
help='Force check for missing blocker bugs after sync')
|
| |
The standard "quick" sync takes one or two orders of magnitude longer than a
full sync, and often times out. It seems that while the timestamp optimizations
were helpful with older Bugzilla versions, with Bugzilla5 they are taking
extremely long to evaluate. It seems much better to always do a "full" sync
instead.
If we don't see any negative consequences, let's remove the quick sync code
completely.
@frantisekz @lbrabec Thoughts?